4D v16.3METHOD SET COMMENTS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
METHOD SET COMMENTS
METHOD SET COMMENTS
The METHOD SET COMMENTS command replaces the comments of the method(s) designated by the path parameter by those specified in the comments parameter. The comments modified by this command are those specified in the 4D Explorer (not to be confused with lines of comments in the code). These comments can only be generated for triggers, project methods and form methods. They contain styled text Note: Forms and form methods share the same comments.. You can use two types of syntaxes, based either on text arrays, or text variables: C_TEXT(tVpath) // text variables ARRAY TEXT(arrPaths;0) // text arrays You cannot mix the two syntaxes. If you pass an invalid pathname, an error is generated. You can execute this command from a component, but in this case, you must pass the * parameter because access to the component code is read-only. If you omit the * parameter in this context, the error -9763 is generated Add a modification date to an existing trigger comment: METHOD GET COMMENTS("[trigger]/Table1";$comments)
See also
|
PROPERTIES
Product: 4D
HISTORY
Created: 4D v13 ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||