UInteger Data Type

Holds unsigned 32-bit (4-byte) integer values in the range 0–4,294,967,295.


UInteger is short for "unsigned integer".

NoteViviFire also has a UInt data type. Do not assume that UInteger and UInt are synonymous.
Default value
When you declare a variable of type UInteger and leave it uninitialized,, its value defaults to zero (0).
Because UInteger is an unsigned type, when you use the unary minus (-) operator on an expression of this type, the value is first converted to a Long then negated.
The UInteger data type widens to UInt, Long, ULong, Huge, UHuge, Single, Double, Real, or Quad without any risk of overflow.
Type characters
Affixing the characters %U32 to the end of a variable name declares it as having a type of UInteger.


Dim foo As UInteger
Dim bar%U32

See also