[fpc-pascal] Free Pascal Directories

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Oct 2 23:13:35 CEST 2014


On 02/10/14 22:52, Brian wrote:
> Conclusion :
>
> Using {$UNITPATH/home/some/*} in the main program DOES NOT WORK !

It behaves exactly as documented at 
http://www.freepascal.org/docs-html/prog/progsu121.html :

"Note that this switch does not propagate to other units, i.e. it’s 
scope is limited to the current unit."

"unit" should be interpreted as "compilation unit" in this context.


Jonas



More information about the fpc-pascal mailing list