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






Summary of LotusScript data types

LotusScript recognizes the following scalar (numeric and string) data types:

Data type
Value range
Size

Boolean

0 (False) or -1 (True)

2 bytes

Byte

Unsigned short integer

0 to 255

1 byte

Integer

Signed short integer

-32,768 to 32,767

2 bytes

Long

Signed long integer

-2,147,483,648 to 2,147,483,647

4 bytes

Single

Single-precision floating-point

-3.402823E+38 to 3.402823E+38

4 bytes

Double

Double-precision floating-point

-1.7976931348623158E+308 to 1.7976931348623158E+308

8 bytes

Currency

Fixed-point integer scaled to 4 decimal places

-922,337,203,685,477.5807 to 922,337,203,685,477.5807

8 bytes

String

Limited by available memory

2 bytes/ character

LotusScript also supports the following data types and data structures:

Data type or structure
Description
Size

Array

A set of elements having the same data type. An array can comprise up to 8 dimensions whose subscript bounds can range from -32,768 to 32,767.

Dynamic or global (public) arrays limited by available memory

List

A one-dimensional set whose elements have the same data type and are referred to by name rather than by subscript.

Limited by available memory

Variant

A special data type that can contain a value of any scalar value, array, list, or object reference. Variants can also hold Boolean and date/time values.

16 bytes

User-defined data type

A set of elements of possibly disparate data types. Comparable to a record in Pascal or a struct in C.

Limited to 64K bytes

User-defined class

A set of elements of possibly disparate data types together with procedures that operate on them.

Object reference

A pointer to an OLE Automation object or an instance of a product-defined class or user-defined class, or an object reference to a Java Object.

4 bytes

For more information about language and script limits, see Appendix A.

Related topics
Data Types, Constants, and Variables
Class statement
Currency data type
Data type conversion
DataType function
Dim statement
Double data type
Integer data type
Limits in miscellaneous source language statements in LotusScript
Limits on array variables in LotusScript
Limits on file operations in LotusScript
Limits on numeric data representation in LotusScript
Limits on string data representation in LotusScript
Long data type
Single data type
String data type
Type statement
Variant data type




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009