LONG
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgLong
- Last revised: 2021-12-13
Standard data type: 32-bit signed integer
Syntax
` dim variable as Long
`
Description
32-bit signed whole-number data type. Can hold values from -2147483648 to 2147483647. Corresponds to a signed DWORD.
Examples
start GeSHi
vb
Dim x As Long = &H80000000
Dim y As Long = &H7FFFFFFF
Print "Long Range = "; x; " to "; yend GeSHi
Output:
Long Range = -2147483648 to 2147483647See also
IntegerLongintUlongTable with variable types overview, limits and suffixes
Back to DocToc