Monday, February 1, 2010

How to use @Functions in LotusScript?

We can write @Functions in LotusScript using 'Evaluate' function.

The following example will return currently logged in user's common name. The retuns value will be variant.

Example:
Dim usrCommon As Variant
usrCommon= Evaluate("@Name([CN]; @UserName)")
msgbox usrCommon(0)