The REM reserved word allows you to add explanatory remarks (comments) to a formula. Quotation marks or braces delimit the text of the remark.
REM " comments " ;
REM { comments } ;
The backslash ( \ ) serves as an escape character in a remark. To embed quotation marks in a remark delimited by quotation marks, precede each embedded quotation mark with a backslash. To embed a right brace in a remark delimited by braces, precede each embedded right brace with a backslash. To embed a backslash in a remark, type two backslashes.
A compiled formula does not distinguish between quotation marks and braces. When you open a design element containing formulas, braces delimit all constants including those previously specified with quotation marks. A backward slash prefixes a right brace previously specified in a remark delimited by quotation marks.
If a comment doesn't fit on one line, add additional REM statements to complete the comment.
REM "6/15/95";
REM "The following formula calculates the date";
REM "for the DueDate field";
REM "DueDate is the Date field + thirty days";
REM;
@Adjust(Date; 0;0;30;0;0;0)
REM {1/15/01};
REM {The following formula calculates the date};
REM {for the "DueDate" field};
REM {"DueDate" is the Date field + thirty days};
REM;
@Adjust(Date; 0;0;30;0;0;0)
%Rem directive of LotusScript® language
Rem statement of LotusScript language
Comment property of LotusScript NotesAgent class
Comment property of LotusScript NotesOutline class
DisplayComment property of LotusScript NotesRichTextDocLink class
Comment property of LotusScript NotesTimer class
Comment property of Java™ Agent class
Comment property of Java Outline class