C <-> FreeBASIC | Octal literal

C

octal literal

Description

 0123

Output

Examples

C

Octal literal the possible of use:
x = 012;         // x = 10
y = 4 * 077;     // y = 374
if (x>10)
  y = (float)x / 0xa;   // y = 1
.
FreeBASIC

octal literal

Description

 &O123

Output

Examples

FreeBASIC

Octal literal the possible of use:
x = &O12         ' x = 10
y = 4 * &O77     ' y = 374
if x>10 then
  y = x / &Ha   ' y = 1
end if

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