![]() |
![]() |
![]() |
![]() |
![]() |
The keyword integer denotes a simple basic type whose distinguished values are the positive and negative whole numbers, including zero.
Related keyword:
integer |
var integer v_egeesz := 65213;
The variable defined is called v_egeesz and has the initial value 65213.
var integer v_tartomaany (3 .. 7);
The variable v_tartomaany may have the following values: 3, 4, 5, 6, 7.
var integer v_schlagbaum (12, -12);
The variable called v_schlagbaum may hold the values 12 and -12 only .
var integer v_2hataar ( 1, 3, 7 .. 9, 11 );
The variable v_2hataar may hold the values 1, 3, 7, 8, 9, 11.
const float c_csarnoka := int2float (3);
The constant called c_csarnoka will have the floating point value 3.0.
BNF definition of integer
BNF definition of integer value