Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2000-11

Development compiler changes

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter Vreman

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

Reply by email