[fpc-pascal]filepaths on different systems
Marco van de Voort
marcov at stack.nl
Sun Oct 8 15:05:35 CEST 2000
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Situation: I am writing some code which is compiled under various systems
> (linux, win, ...).
> 1.How can I find out if a filename is relative or absolute?
Fexpand, but that doesn check for links on linux IIRC.
> 2.To concat a path and filename I must know the directory delimiter. How can I
> find out this character?
But most standard procedures accept both / as \
More information about the fpc-pascal