FreeBASIC <-> Free Pascal | Hexadecimal literal
FreeBASIC  
hexadecimal literal
Description
 &HA12FOutput
- return - Integers
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
.
Free Pascal  
hexadecimal literal
Description
 $A12FOutput
- return - Integers
Examples
Free Pascal
Hexadecimal literal the possible of use:x := $1234;       // x = 4660
y := 4 * $ff;     // y = 1020
if x>$abc then
  y := x / $a;    // y = 466You can find it in the following collections: constants
Hexadecimal literal in another programming language:
Differences to: