FORMULA LANGUAGE

REM
Example

The REM reserved word allows you to add explanatory remarks (comments) to a formula. Quotation marks or braces delimit the text of the remark.

Note Using braces to delimit a remark is new with Release 6.

Syntax

Usage

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.

Language cross-reference

%Rem directive of LotusScript language

Rem statement of LotusScript language

Comment property of Lotus Script NotesAgent class

Comment property of Lotus Script NotesOutline class

DisplayComment property of Lotus Script NotesRichTextDocLink class

Comment property of Lotus Script NotesTimer class

Comment property of Java Agent class

Comment property of Java Outline class

Example