&h

From REALbasicWiki

Jump to: navigation, search

Prepending &h to an integer literal tells the compiler to interpret the literal as a hexdecimal, or base sixteen, integer. To get a string representation of an integer in hexadecimal form, use the Hex function.

dim N as Integer = &h00ff
dim maxN as UInt64 =&hffffffffffffffff //maximum value of a Uint64
Personal tools
related