[Lazarus] fpchmod illegal character "&"

Bart bartjunk64 at gmail.com
Wed Oct 14 13:47:36 CEST 2009


Hi David,

Look at the function definition:

Function  FpChmod   (path : AnsiString; Mode : TMode): cInt; inline;

The second parameter must be of type TMode, so you cannot use a "&" in it.

What does  "&"755 do if you run chmode from terminal?
(What is the meaning of the ampersand in front of the 755 in this case?)

Bart




More information about the Lazarus mailing list