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
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
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
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
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
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
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
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
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
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
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:
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
12 matches
Mail list logo