[fpc-pascal] RemoveDir: Error: Identifier not found

Sven Barth pascaldragon at googlemail.com
Wed Apr 25 09:57:15 CEST 2012


Am 24.04.2012 17:35, schrieb Jürgen Hestermann:
> If I hit Alt+Up on "RemoveDir" within my program I am moved to
> D:\Programme\lazarus\fpc\2.6.1\source\rtl\objpas\sysutils\diskh.inc(21,10)
> with the function header declaration but when doing it again
> on "RemoveDir" within this file I get:
>
> Error: identifier not found: RemoveDir
>
> so I can't see the implementation of this function.
> Is this a bug or some kind of limitation?

You are talking about doing this in Lazarus? Then you should complain on 
the Lazarus list, because such lookups are part of the CodeTools of 
Lazarus (and as this function is part of an include file, there are some 
problematic cases still)

As a sidenote: RemoveDir is implemented in the corresponding SysUtils 
units of your platform. E.g. in case of Windows that is 
%fpcdir%\rtl\win\sysutils.pas (the sysutils unit includes the generic 
header files like diskh.inc through sysutilsh.inc)

Regards,
Sven




More information about the fpc-pascal mailing list