[fpc-pascal] Possible RTFM question: is there something like an IsRootPath() function?

Jürgen Hestermann juergen.hestermann at gmx.de
Mon Aug 20 14:05:48 CEST 2012

Am 2012-08-20 00:17, schrieb Bart:
 > Does fpc have a function that determines if a given paths is the root
 > (e.g. '/' in Linux, 'F:\' in Windows)?

The question is: For what reason is this function needed? If you use "subst" on Windows you can make every path to a root path if you want.

 > The Delphi converter from Lazarus needs such a function,


More information about the fpc-pascal mailing list