integer is the type identifier for a built-in ordinal type, whose values are 32-bit signed integers between -2147483647 and +2147483647 (maxint).
Below is a simple example program that prints the odd numbers between 1 and 24.
program OddNumbers(output);
const
first = 1;
last = 24;
var
i : integer;
function IsOdd(i : integer) : boolean;
begin
IsOdd := (i mod 2) <> 0;
end;
begin
for i := first to last do
if IsOdd(i) then writeln(i);
end.
Operating Systems: All
Standard Pascal: Yes