[fpc-pascal] TP compatibility: procedural type
Anton Shepelev
anton.txt at gmail.com
Tue Aug 29 11:03:56 CEST 2017
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?
--
Please, do not forward replies to the list to my e-mail.
More information about the fpc-pascal
mailing list