4D v13.4METHOD SET COMMENTS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
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) |
PROPERTIES
Product: 4D
INDEX HISTORY
SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||