KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Clearing Project Method comments
PRODUCT: 4D | VERSION: 14.3 | PLATFORM: Mac & Win
Published On: February 17, 2015

The project methods created in a database maybe tracked with comments which are shown in the explorer window below shown in red:




Here is a method "CLEAR_PROJ_METH_COMMENTS" that can clear out all the project method comments in a database:

// ----------------------------------------------------------------------
// Name: CLEAR_PROJ_METH_COMMENTS
// Description: Method will clear the Project Method comments that are
// seen in the Explorer window.
// ----------------------------------------------------------------------
ARRAY TEXT($array_comments;0)
ARRAY TEXT($array_method_path;0)

METHOD GET PATHS(Path project method;$array_method_path)
METHOD GET COMMENTS($array_method_path;$array_comments) // array of comments

ARRAY TEXT($clear_comments;Size of array($array_comments))
METHOD SET COMMENTS($array_method_path;$clear_comments)


See Also: