Data Type Summary

ViviFire typeNominal memory usageValue rangeNotes
BooleanPlatform-dependentTrue, False
Byte1 byte0 to 255Unsigned
Char2 bytes0 to 65,535Unsigned; Unicode UTF-16
Date8 bytes1 January 0001 to 31 December 9999
Double8 bytes−1.79769313486231570E+308 to −4.94065645841246544E−324 (negative)and 4.94065645841246544E−324 to 1.79769313486231570E+308 (positive) Floating-point type
Huge16 bytes−170,141,183,460,469,231,731,687,303,715,884,105,728 to 170,141,183,460,469,231,731,687,303,715,884,105,727Signed; Max 39 decimal places
IntPlatform-dependentPlatform-dependentMost efficient signed integer type
Integer4 bytes−2,147,483,648 to 2,147,483,647Signed; Max 10 decimal places
Long8 bytes−9,223,372,036,854,775,808 to 9,223,372,036,854,775,807Signed; Max 19 decimal places
Quad16 bytes−1.189731495357231765085759326628007E+4932 to −3.362103143112093506262677817321753E−4932 (negative) and 3.362103143112093506262677817321753E−4932 to 1.189731495357231765085759326628007E+4932 (positive)Floating-point type
RealPlatform-dependentPlatform-dependentMost efficient floating-point type at least as large as Double
SBit1–16 bytesUser-specifiedSigned bit field
Short2 bytes−32,768 to 32767Signed; Max 5 decimal places
Single4 bytes−3.4028235E+38 to −1.401298E−45 (negative) and 1.401298E−45 to 3.4028235E+38 (positive)Floating-point type
String~ bytes0 to ~ characters
Tiny1 byte−128 to 127Signed; Max 3 decimal places
UBit1–16 bytesUser-specifiedUnsigned bit field
UHuge16 bytes0 to 340,282,366,920,938,463,463,374,607,431,768,211,455Unsigned; Max 39 decimal places
UIntPlatform-dependentPlatform-dependentMost efficient unsigned integer type
UInteger4 bytes0 to 4,294,967,295Unsigned; Max 10 decimal places
ULong8 bytes0 to 18,446,744,073,709,551,615Unsigned; Max 20 decimal places
User-defined Struct~ bytes~ to ~
UShort2 bytes0 to 65,535Unsigned; Max 5 decimal places

See also