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

Compatible programing languages:
Object Pascal | Free Pascal

Examples

Pascal

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

Pascal

Other pieces of example codes:
16 shl 2
10 < f(5)
y:= 123456789;
90 mod 8
123 xor 25
y:= 123456789;

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