User Tools

Site Tools

Navigation:  Language Reference > 3 - Variable Declarations > Data Types >====== UINT64 (64bit unsigned integer) ====== Previous pageReturn to chapter overviewNext page

Coming in a future release

label UINT64([initial value]) [,DIM( )] [,OVER( )] [,NAME( )] [,EXTERNAL] [,DLL] [,STATIC]


UINT64 A 64bit unsigned integer. Uses 8 bytes of memory.

Range: 0 to 9,223,372,036,854,775,807

initial value A numeric constant. If omitted, the initial value is zero, unless the AUTO attribute is present.
DIM Dimension the variable as an array.
OVER Share a memory location with another variable.
NAME Specify an alternate, “external” name for the field.
EXTERNAL Specify the variable is defined, and its memory is allocated, in an external library. Not valid within FILE, QUEUE, or GROUP declarations.
DLL Specify the variable is defined in a .DLL. This is required in addition to the EXTERNAL attribute.
STATIC Specify the variable's memory is permanently allocated.
THREAD Specify memory for the variable is allocated once for each execution thread. Also implicitly adds the STATIC attribute on Procedure Local data.
AUTO Specify the variable has no initial value.
PRIVATE Specify the variable is not visible outside the module containing the CLASS methods. Valid only in a CLASS.
PROTECTED Specify the variable is not visible outside base CLASS and derived CLASS methods. Valid only in a CLASS.

UINT64 declares an eight-byte unsigned integer. There is no sign bit in this configuration.

64-bits integer constants can't be used in an ITEMIZE structure. 64-bits integer constants and EQUATEs are not allowed in expressions in OMIT/COMPILE directives.

EQUATEs naming 64-bits integer constants are supported. Example: Count1 UINT64                        !Declare 64bit unsigned integer Count3 UINT64,DIM(4)                 !Declare it an array of 4 Count4 UINT64(5)                     !Declare with initial value Count5 UINT64,EXTERNAL               !Declare as external Count6 UINT64,EXTERNAL,DLL           !Declare as external in a .DLL Count7 UINT64,NAME('SixCount')       !Declare with external name see also: INT64**

uint64.htm.txt · Last modified: 2021/04/15 15:57 (external edit)