Am 29.08.2017 11:10 schrieb "Anton Shepelev" <anton....@gmail.com>:
>
> Hello, all.
>
> According  to  Borland's  official language guide to
> Turbo Pascal 7.0,
>
>   To be used as procedural  values,  procedures  and
>   functions  must be declared with a 'far' directive
>   or compiled in the '{$F+}' state.
>
> whereas Free Pascal in -Mtp seems to accept any non-
> system  procedure or function as a value of a proce-
> dural type.  Is it an instance of TP  incompatibilty
> or am I missing something?

That would probably be only relevant on i8086. All the other targets don't
have the distinction in "near" and "far", so it's not necessary to
artificially restrict everything.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to