[fpc-devel]Development compiler changes
Peter Vreman
pfv at cooldown.demon.nl
Sat Nov 11 14:32:44 CET 2000
Things that have been added or changed in the development compiler:
11/11/00 default parameter support
11/11/00 you can declare a pointer type with directive far; to make
it a farpointer. Only usefull for dos.
11/11/00 ptr() returns a farpointer instead of pointer. Becuase the
pointer result would be useless and only causing segmentation
faults. With the farpointer this would already be detected at
compiletime. To get the code working you can declare a pointer
with far; like:
type
farlongint = ^longint;far;
var
timer : farlongint;
begin
timer:=ptr($40,$6c);
writeln(timer^);
end.
Peter
More information about the fpc-devel
mailing list