FreeBASIC - Hexadecimal literal

Hexadecimal integer constant, also known as base 16 constant. it is from combination of following hexadecimal digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a/A, b/B, c/C, d/D, e/E, f/F

hexadecimal literal

Description

 &HA12F

Output

Examples

FreeBASIC

Hexadecimal literal the possible of use:
x = &H1234       ' x = 4660
y = 4 * &Hff     ' y = 1020
if x>&Habc then
  y = x / &Ha    ' y = 466
end if

FreeBASIC

Other pieces of example codes:
&Hff shr 4
&HAC xor k
&Hff >= y
&Habc
&Hff mod 50
i * &HFF

You can find it in the following collections: constants
Languages: en hu cz sk