Description
word is the type identifier for a built-in ordinal type, whose values are 32-bit unsigned integers between 0 and 4294967295 ( maxword).
Example
Below is a simple example program that prints the odd numbers between 1 and 24.
program OddNumbers(output);
const
first = 1;
last = 24;
var
w : word
function IsOdd(w : word) : boolean;
begin
IsOdd := (w mod 2) <> 0;
end;
begin
for w := first to last do
if IsOdd(w) then writeln(w);
end.
Portability
Operating Systems: All
Standard Pascal: No