次の方法で共有


CleanUp Method

Cleans up a project table by removing records marked for deletion and packing memo fields.

Object.CleanUp(lRemoveObjectCode)

Parameters

  • lRemoveObjectCode
    Specifies if object code stored in the OBJECT field of the project table is removed. If lRemoveObjectCode is True (.T.), the object code is removed from the table. If lRemoveObjectCode is False (.F.) or is omitted, the object code isn't removed.

    The OBJECT field contains object code for program (.prg), menu (.mnx), and query (.qpr) files in the project. If the object code stored in the OBJECT field of the project table is removed, the next time the project is rebuilt the source code is compiled and the object code is stored in the OBJECT field again.

Remarks

Applies To: Project Object (Visual FoxPro)

Every project has a corresponding table that contains project information. Use the CleanUp method to reduce the size of the table by removing records marked for deletion and packing memo fields. Cleaning up a project table reduces the time it takes to rebuild a large project or create an application file (.app), dynamic link library (.dll), or executable file (.exe) from a large project.

See Also

Reference

BUILD APP Command

BUILD DLL Command

BUILD EXE Command

Build Method

BUILD PROJECT Command

CREATE PROJECT Command

MODIFY PROJECT Command

Other Resources

Methods (Visual FoxPro)

Language Reference (Visual FoxPro)