[fpc-pascal] uses in '' relative paths

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Oct 8 15:04:56 CEST 2020


On Thu, 8 Oct 2020 09:37:06 -0300
"Marcos Douglas B. Santos via fpc-pascal"
<fpc-pascal at lists.freepascal.org> wrote:

>[...]
> > > unit TOML;
> > > interface
> > > uses
> > >   TOMLParser in '/sources',
> > >   TOMLTypes in '/sources';  
> >
> > uses
> >   TOMLParser in 'sources/TOMLParser.pas',
> >   TOMLTypes in 'sources/TOMLTypes.pas';
> >
> > Not Delphi compatible.  
> 
> I think this works even on Delphi 7...

Delphi allows it only in program, not in unit.

Mattis



More information about the fpc-pascal mailing list