Re: [Lazarus] fpchmod illegal character

2009-10-16 Thread Paul Ishenin
Florian Klaempfl wrote: Trunk from at least Monday? My fault. One day earlier. Best regards, Paul Ishenin. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] fpchmod illegal character

2009-10-15 Thread Paul Ishenin
Florian Klaempfl wrote: And when you're at it: fpc trunk allows reserved works to be used as identifiers by escaping them with (as Delphi allows). This is mainly needed for COM programing. I was not able to define a property using reserved word. Example: TMyClass = class private FWith:

[Lazarus] fpchmod illegal character

2009-10-14 Thread David Touzeau
I try to set fpchmod(path,775); by compilator generate error zsystem.pas(465,17) Fatal: illegal character '' ($26) how to force using character in fpchmod function ? best regards -- ___ Lazarus mailing list

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread Bart
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

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread David Touzeau
@lists.lazarus.freepascal.org À: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Sujet: Re: [Lazarus] fpchmod illegal character Date: Wed, 14 Oct 2009 13:52:59 +0200 Bart schreef: Hi David, Look at the function definition: Function FpChmod (path : AnsiString; Mode : TMode): cInt; inline; The second

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread Vincent Snijders
David Touzeau schreef: Hum so i can convert 775 or 666 chmod number privilege to an octal It is already an octal number. parameter in order to avoid this illegal character error I'm dev in Unix (linux) I don't know why your compiler gives this error: writeln(IntToStr(755)); gives no

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread Mattias Gärtner
Zitat von Vincent Snijders vsnijd...@vodafonevast.nl: David Touzeau schreef: Hum so i can convert 775 or 666 chmod number privilege to an octal It is already an octal number. parameter in order to avoid this illegal character error I'm dev in Unix (linux) I don't know why your compiler

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread David Touzeau
@lists.lazarus.freepascal.org À: lazarus@lists.lazarus.freepascal.org Sujet: Re: [Lazarus] fpchmod illegal character Date: Wed, 14 Oct 2009 14:31:23 +0200 Zitat von Vincent Snijders vsnijd...@vodafonevast.nl: David Touzeau schreef: Hum so i can convert 775 or 666 chmod number privilege to an octal

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread Mattias Gaertner
On Wed, 14 Oct 2009 19:25:02 +0200 David Touzeau da...@touzeau.eu wrote: OK many thanks In order to waiting the latest linux Lazarus release with this fix. Is there a workaround ? How can i set the parameters without character 765 = 7*64+6*8+5 Mattias --

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread dmitry boyarintsev
Here's the patch for synedit pascal highlighter to support '%' (binary) and '' (octal) as numbers, as shown here: http://imagebin.org/67810 Otherwise the prefix character is colored as symbol rather than as number. thanks, dmitry P.S. sorry, don't have much time for serious development.

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread Martin
Thanks, I will attend to it asap. Usually it is better to attach them to a mantis report. So they will not be lost/overlooked. Martin dmitry boyarintsev wrote: Here's the patch for synedit pascal highlighter to support '%' (binary) and '' (octal) as numbers, as shown here:

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread dmitry boyarintsev
On Thu, Oct 15, 2009 at 12:25 AM, Martin laza...@mfriebe.de wrote: I will attend to it asap.  Usually it is better to attach them to a mantis report. So they will not be lost/overlooked. If it's forgotten, i'll make a bug report. But i was hoping you have some time, for quick fixes :) thanks,

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread David Touzeau
Thanks dmitry the patch works fine !! :=) Message initial De: dmitry boyarintsev skalogryz.li...@gmail.com Reply-to: Lazarus mailing list lazarus@lists.lazarus.freepascal.org À: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Sujet: Re: [Lazarus] fpchmod illegal

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread Martin
dmitry boyarintsev wrote: Here's the patch for synedit pascal highlighter to support '%' (binary) and '' (octal) as numbers, as shown here: http://imagebin.org/67810 Otherwise the prefix character is colored as symbol rather than as number. Applied, in 22180, thanks. slightly improved, the