LOTUSSCRIPT LANGUAGE


TypeName function
Example

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

Syntax

TypeName ( expr )

Elements

expr


Return value
Value of expr Return valueStorage 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 objectThe name of the object class, as an uppercase string.

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

ListThe 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."

ArrayThe 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

Example
See Also