Skip to content

ULONG


Standard data type: 32-bit unsigned integer.

Equivalent to Unsigned Long.

Syntax

` dim variable as Ulong

`

Description

32-bit unsigned whole-number data type. Can hold values from 0 to 4294967295. Corresponds to an unsigned DWORD.

Examples

start GeSHi

vb
  Dim x As ULong = 0
  Dim y As ULong = &HFFFFFFFF
  Print "ULong Range = "; x; " to "; y

end GeSHi

Output:

ULong Range = 0 to 4294967295

Dialect Differences

  • Not available in the -lang qb dialect unless referenced with the alias __Ulong.

Differences from QB

  • New to FreeBASIC

See also

  • Long
  • Uinteger
  • Ulongint
  • Table with variable types overview, limits and suffixes

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft