Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-04

RemoveDir: Error: Identifier not found

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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?

Reply by email

Sven Barth
to Jürgen Hestermann
Jürgen Hestermann wrote 9 lines
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

Reply by email

Jürgen Hestermann
to Sven Barth
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)

Yes, you are right (again). ;-) I will do this.

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)

Thanks. Will have a look there.

Reply by email