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






TypeName function

Returns a string identifying the data type of the value of an expression.

Syntax

TypeName ( expr )

Elements

expr

Any expression.

Return value

Value of expr
Return value
Storage of variable

EMPTY

"EMPTY"

In Variant only

NULL

"NULL"

In Variant only

Boolean

"BOOLEAN"

Byte

"BYTE"

Integer

"INTEGER"

Long

"LONG"

Single

"SINGLE"

Double

"DOUBLE"

Currency

"CURRENCY"

Date

"DATE"

In Variant only

String

"STRING"

NOTHING

"OBJECT"

OLE object

"OBJECT"

In Variant only

OLE error

"ERROR"

In Variant only

V_UNKNOWN
(OLE value)

"UNKNOWN"

In Variant only

User-defined object or product object

The name of the object class, as an uppercase string.

For example, for an object of the Employee class, LotusScript returns "EMPLOYEE."

List

The name of the list data type, plus the word "LIST," all as an uppercase string.

For example, for a list of type String, LotusScript returns "STRING LIST."

Array

The name of the array data type as an uppercase string, followed by parentheses enclosing one space.

For example, for an integer array, LotusScript returns "INTEGER( )."

Language cross-reference

@IsNumber function in formula language

@IsTime function in formula language

@IsText function in formula language

See examples

Examples: TypeName function
Related topics
LotusScript Language Reference: Q through T
DataType function




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009