Go to the first, previous, next, last section, table of contents.
-
`Write' and `writeln' default behaviour: The numeric default
format of "write" and "writeln" differs between both Pascal
dialects. The standard format of GNU Pascal is a field of
length 14 for real, and a field of length 10 for integer
values, while Borland Pascal begins just left by default.
An explicit fieldlength of zero causes GNU Pascal to omit the
output; in Borland Pascal it yields the default.
-
`GetMem' and `FreeMem': `GetMem' can also act as a
function in GNU Pascal:
p:= GetMem ( 1024 );
The second parameter to FreeMem is ignored by GNU Pascal and
may be omitted. Memory blocks are always freed with the same
size they were allocated with.
Remark: Extended Pascal Schema types will provide a cleaner
approach to most of the applications of `GetMem' and
`FreeMem' in the future.
-
`Min' and `max': GNU Pascal has built-in `min'
and `max' functions (two arguments) which work for all
ordinal types (`Integer', `Char', ...) plus `Real'.
-
`UpCase' function: not built-in.
-
`Lo', `Hi', `Swap' functions: not built-in.
Go to the first, previous, next, last section, table of contents.