LOTUSSCRIPT LANGUAGE


Identifier construction rules
An identifier is the name you give to a variable, a constant, a type, a class, a function, a sub, or a property.

The following rules govern the construction of identifiers in a script.


Escape character for illegal identifiers

Some Lotus software classes and OLE classes may define properties or methods whose identifiers use characters not legal in LotusScript identifiers. Variables registered by Lotus software applications might also use such characters. In these cases, prefix the illegal character with a tilde (~) to make the identifier valid.

Examples

' $ is illegal as character in identifier
Call ProductClass.LoMethod$            ' Illegal          
Call ProductClass.LoMethod~$           ' Legal

X = OLEClass.Hi@Prop                   ' Illegal
X = OLEClass.Hi~@Prop                  ' Legal

See Also