Object Pascal - decimal literal

decimal literals are also known as decimal constants. we can describe it from the mathematics known Arabic digits from 0 to 9.

decimal literal

Description

 1234
Data:
  • number -

Output

Examples

Object Pascal

decimal literal the possible of use:
x := 10;         // x = 10
y := 4 * 10;     // y = 40
if x>5 then
  y := x / $a;  // y = 1

Object Pascal

Other pieces of example codes:
x * 2 / y +5
2 and (i and 4)
631 xor ($F0 xor k)
(i and j) <> 64
4 * $ff
 +8

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