Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Variant data type

Specifies a 16-byte variable that can contain data of any scalar type, an array, a list, or an object.

Usage

A variable that is declared without a data type or a suffix character is of type Variant.

Variant values are initialized to EMPTY.

A Variant variable can contain values of any scalar data type, or any of the following special values.

A Variant cannot contain an instance of a user-defined type.

To determine the data type of the value in a Variant variable, use the DataType or TypeName function.

LotusScript aligns Variant data on an 8-byte boundary. In user-defined data types, declaring variables in order from highest to lowest alignment boundaries makes the most efficient use of data storage space.

See examples

Examples: Variant data type
Related topics
LotusScript Language Reference: U through Z
CVar function
DataType function
Deftype statements
TypeName function
Constants
Data type conversion
Literal number construction rules
Literal string construction rules
About data types




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009