Long

FreeBASIC

Long
 
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.

Example

  Dim x As Long = &H80000000
  Dim y As Long = &H7FFFFFFF
  Print "Long Range = "; x; " to "; y

Output:
Long Range = -2147483648 to  2147483647

See also