LOTUSSCRIPT LANGUAGE


RSet statement
Example

Assigns a specified string to a string variable and right-aligns the string in the variable.

Syntax

RSet stringVar = stringExpr

Elements

stringVar


stringExpr
Usage

If the length of stringVar is greater than the length of stringExpr, LotusScript right-aligns stringExpr within stringVar and sets the remaining characters in stringVar to spaces.

If the length of stringVar is less than the length of stringExpr, LotusScript copies only as many leftmost characters from stringExpr as will fit within stringVar.

If stringVar contains a numeric value, LotusScript converts it to String to determine the length of the result.

If stringVar is a Variant, it canft contain NULL.

You cannot use RSet to assign variables of one user-defined data type to variables of another user-defined data type.

Example
See Also