[fpc-devel] assembler error with inlining on power pc / mac? [Fwd: [Lazarus] PPC: SynEditFoldedView giving parameter syntax error]

2008-11-06 Thread Martin Friebe
list [EMAIL PROTECTED] To: 'General mailing list' [EMAIL PROTECTED] Hi all, I have updated Lazarus to latest revision (17246) on Win32 and Mac i386/PPC, and downloaded latest FPC 2.2.2 (20081106 on Win32, 20081104 on Mac i386/PPC). Lazarus are build nicely and with no errors on Win32

Re: [fpc-devel] Re: CodeGear abandons Delphi.NET

2008-11-06 Thread Henry Vermaak
2008/11/6 Graeme Geldenhuys [EMAIL PROTECTED]: On Thu, Nov 6, 2008 at 8:18 AM, Alexander Klenin [EMAIL PROTECTED] wrote: 1) http://prismwiki.codegear.com/en/With_(keyword) but without 'matching' clause. The following code is just confusing as hell... with b: Button := new Button do with

Re: [fpc-devel] Re: CodeGear abandons Delphi.NET

2008-11-06 Thread Graeme Geldenhuys
On Thu, Nov 6, 2008 at 11:57 AM, Henry Vermaak [EMAIL PROTECTED] wrote: 1) 'case' by string and type http://prismwiki.codegear.com/en/Case_(keyword) Did you not know that this is supported in FPC (for some time now). ;-) And it's not just limited to ordinal or string types I'll share my

Re: [fpc-devel] Re: CodeGear abandons Delphi.NET

2008-11-06 Thread Henry Vermaak
2008/11/6 Graeme Geldenhuys [EMAIL PROTECTED]: I know that! You clearly missed the smiley face. :-) heh, sorry about that. must've had my serious hat on :) henry ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] assembler error with inlining on power pc / mac? [Fwd: [Lazarus] PPC: SynEditFoldedView giving parameter syntax error]

2008-11-06 Thread Brad Campbell
Martin Friebe wrote: Hi, I do not have myself a power-pc, nor mac. But I have several reports like the below. I know from one instance (where this happened during cross-compiling from a linux box) that the error disappeared, when inlining was disabled (The units explicitly marks a lot of

Re: [fpc-devel] Re: CodeGear abandons Delphi.NET

2008-11-06 Thread Graeme Geldenhuys
On Thu, Nov 6, 2008 at 3:08 PM, Henry Vermaak [EMAIL PROTECTED] wrote: I know that! You clearly missed the smiley face. :-) heh, sorry about that. must've had my serious hat on :) No problems. ;-) Regards, - Graeme - ___ fpGUI - a

Re: [fpc-devel] assembler error with inlining on power pc / mac? [Fwd: [Lazarus] PPC: SynEditFoldedView giving parameter syntax error]

2008-11-06 Thread dmitry boyarintsev
Brad, could you make a smaller test, that fails using inline for powerpc? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Re: CodeGear abandons Delphi.NET

2008-11-06 Thread Daniƫl Mantione
Op Thu, 6 Nov 2008, schreef Graeme Geldenhuys: On Thu, Nov 6, 2008 at 11:57 AM, Henry Vermaak [EMAIL PROTECTED] wrote: 1) 'case' by string and type http://prismwiki.codegear.com/en/Case_(keyword) Did you not know that this is supported in FPC (for some time now). ;-) And it's not just

Re: [fpc-devel] Re: CodeGear abandons Delphi.NET

2008-11-06 Thread Alexander Klenin
On Thu, Nov 6, 2008 at 16:41, Graeme Geldenhuys [EMAIL PROTECTED] wrote: The following code is just confusing as hell... with b: Button := new Button do with c: Color := b.BackColor do begin ... b.Text := 'Hello World'; self.Text := c.ToString; ... end; end; Maybe, but

Re: [fpc-devel] Re: CodeGear abandons Delphi.NET

2008-11-06 Thread Graeme Geldenhuys
On Thu, Nov 6, 2008 at 3:35 PM, Alexander Klenin [EMAIL PROTECTED] wrote: Maybe, but consider the alternative in today's FPC: with Button.Create do with BackColor do begin Text := 'Hello World'; Self.Text := ToString; end; It is easy to miss which properties refer to which

Re: [fpc-devel] Re: CodeGear abandons Delphi.NET

2008-11-06 Thread dmitry boyarintsev
WITH is also usefull to initialize records with rec do begin field1 := 1; field2 := 2; field3 := 3; field4 := 4; // and so on end; rather than c'sh style: rec.field1 := 1; rec.field2 := 2; rec.field3 := 3; rec.field4 := 4; I also like to use with structure in bigger 'if' statement:

Re: [fpc-devel] Re: CodeGear abandons Delphi.NET

2008-11-06 Thread Alexander Klenin
On Thu, Nov 6, 2008 at 23:48, Graeme Geldenhuys [EMAIL PROTECTED] wrote: And a perfect example of why I DON'T user the 'with' statement! Hard to read, hard to understand and hard to debug (tooltip expressions cannot evaluate it even in Delphi v7 at least). :) Proposed change can potentially