LOTUSSCRIPT LANGUAGE

Examples: %Rem directive
Example 1

' The compiler ignores the lines of text between %Rem and
' %End Rem, and the text on the line beginning %Rem.
' It also ignores the line containing the Rem statement.
%Rem   Note that the compiler ignores all text on this line.
      What follows is ignored by the compiler. It can
      contain comments or non-working statements.
  Check( This, for example, would have been a syntax error.)
%End Rem   This text is ignored as well.
Rem Normal parsing and compilation continues from here.

Example 2

' %Rem blocks cannot be nested, so the second %Rem
' directive is illegal in the following.
%Rem
Comment line 1
Comment line 2
...
%Rem            ' Error
Comment line
...
%End Rem
%End Rem

See Also