Thanks for the fix, but it makes the code a bit more complicated than
I'd hoped/thought based on my (over simple?) impression that local fns
are used in place of those in units. John

this would be true if you declared another function fnb locally, so that calling fnb could eventually override the one in the unit. As said, the unit itself doesn't (and cannot, btw) know anything about the program (or other units, for instance) that are using it.

Cheers, A.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to