Data types
mrScriptBasic has one base data type called a mrScriptBasic Variant. Like its VBScript counterpart, the mrScriptBasic Variant is a special data type that can contain different kinds of information, depending on how it is used.
Variant subtypes
None
Used to indicate a null or empty variable. In Visual Basic, this is an unassigned Variant or a variant assigned Empty.
Double
A 64-bit floating point number with at least 15 digits of precision, in the range -1.79769313486232E308 to -4.94065645841247E-324 for negative values and 4.94065645841247E-324 to 1.79769313486232E308 for positive values. In Visual Basic, this is a Double.
Long
A 32-bit signed integer in the range -2,147,483,648 to 2,147,483,647. In Visual Basic, this is a Long.
Text
Contains a variable-length string that in theory can be up to approximately 2 billion characters in length. In Visual Basic, this is a String.
Categorical
A single or multiple categorical response type. The maximum number of responses is theoretically approximately 4 billion. In Visual Basic, this is an array of Variants. Each variant must contain a Long value that corresponds to the unique category value.
Date
An IEEE 64-bit (8-byte) floating-point number that represents a date in the range from 1 January 100 to 31 December 9999 and a time in the range from 0:00:00 to 23:59:59.
Object
Contains an object.
Boolean
A Boolean value of either True or False.
See also