Long Integer (LINT) data type

Long Integer (LINT) variables are 64-bit signed integers from –9223372036854775808 through 9223372036854775807.
A bit of a long integer variable can be accessed using the following syntax:
  • Var1.[Var55]
    , where Var55 is a 64-bit Long Integer (LINT) variable.
  • MyVar
    .i, where MyVar is a long integer and MyVar.i is a Boolean. The "i" must be a constant value from 0 through 63.
Direct bit addressing using a constant value:
  • MyInteger.[3]
  • MyInteger.3
Long Integer literal expressions represent signed long integer (64-bit) values from –9223372036854775808 through 9223372036854775807.
Long Integer constants can be expressed with one of the following bases and Long Integer constants must begin with a prefix that identifies the bases used:
Long Integer constants
Base
Prefix
Example
DECIMAL
(none)
–908
HEXADECIMAL
"16#"
16#1A2B3C4D
OCTAL
"8#"
8#1756402
BINARY
"2#"
2#1101_0001_0101_1101_0001_0010_1011_1001_1101_0001_0101_1101_0001_0010_1011_1001
TIP: The underscore is used to separate groups of numbers. It has no significance other than to improve the readability of the literal expression.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal