Re: [fpc-devel] FPC debug information

2008-11-05 Thread Marc Weustink
dmitry boyarintsev wrote: It is impossible to encode properties in stabs. In Dwarf you can in theory describe pretty much anything, but gdb does not yet support the full Dwarf specifications. I guess it would be possible already to add debug info for properties that simply map

Re: [fpc-devel] FPC debug information

2008-11-05 Thread dmitry boyarintsev
i know Marc, but the purpose is to make expression evaluation. while setting property is procedure, i can't think of any expression that uses it. But of couse, it might be usefull to know how to set properties (directly member of class, or a method) i guess, that property information is also

Re: [fpc-devel] -1 mod 3

2008-11-05 Thread Dmitry Lizorkin
Hello! There is no need for such a switch. No programs needs it, because if you need to positive value you need just one if statement. Or the beautiful iso-compliant Abs? smile That's not that simple. In particular, ISO-compliant result for (-1) mod 3 is 2, not abs(-1). As the result, one

Re: [fpc-devel] -1 mod 3

2008-11-05 Thread Florian Klaempfl
Dmitry Lizorkin schrieb: I agree, no real life need. Except probably for my 150 students to whom i can no longer recommend FPC as a reference implementation. Hopefully they won't be schocked when being hit by another real world programming language implementing mod like it is implemented in

Re: [fpc-devel] Documentation for FCL files not already in the FreePascal docs

2008-11-05 Thread Michael Van Canneyt
On Wed, 5 Nov 2008, Chris Kirkpatrick wrote: I am trying to provide documentation for the LCL (as .xml files using FPDoc and tools in the Lazarus IDE). In the unit Graphics, there are several Components that inherit properties and methods from components and units in the FCL, including

Re: [fpc-devel] -1 mod 3

2008-11-05 Thread Jonas Maebe
On 05 Nov 2008, at 13:18, Dmitry Lizorkin wrote: Except probably for my 150 students to whom i can no longer recommend FPC as a reference implementation. FPC indeed is not a reference implementation of ISO Pascal. Jonas ___ fpc-devel maillist -

[fpc-devel] Documentation for FCL files not already in the FreePascal docs

2008-11-05 Thread Chris Kirkpatrick
I am trying to provide documentation for the LCL (as .xml files using FPDoc and tools in the Lazarus IDE). In the unit Graphics, there are several Components that inherit properties and methods from components and units in the FCL, including FPImgCmn, FPImage, FPCanvas, FPReadPNG,

Re: [fpc-devel] FPC debug information

2008-11-05 Thread Marc Weustink
dmitry boyarintsev wrote: i know Marc, but the purpose is to make expression evaluation. while setting property is procedure, i can't think of any expression that uses it. But of couse, it might be usefull to know how to set properties (directly member of class, or a method) i guess, that

Re: [fpc-devel] -1 mod 3

2008-11-05 Thread Vinzent Höfler
m2 wrote: Florian Klaempfl a écrit : Dmitry Lizorkin schrieb: I agree, no real life need. Except probably for my 150 students to whom i can no longer recommend FPC as a reference implementation. Hopefully they won't be schocked when being hit by another real world programming language

Re: [fpc-devel] -1 mod 3

2008-11-05 Thread Schatzl Thomas
Hello, Datum: Wed, 05 Nov 2008 18:04:01 +0100 Von: Vinzent Höfler [EMAIL PROTECTED] Unless they make use of Ada. Which just has both, that's all. ;) As an alternative one could read some other language reference manuals and notice that - surprisingly - at least two of the more common

Re: [fpc-devel] -1 mod 3

2008-11-05 Thread m2
Schatzl Thomas a écrit : Hello, Datum: Wed, 05 Nov 2008 18:04:01 +0100 Von: Vinzent Höfler [EMAIL PROTECTED] Unless they make use of Ada. Which just has both, that's all. ;) As an alternative one could read some other language reference manuals and notice that - surprisingly - at least two

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

2008-11-05 Thread Alexander Klenin
On Wed, Oct 29, 2008 at 03:16, Graeme Geldenhuys [EMAIL PROTECTED] wrote: And some links for your reading pleasure... ;-) http://www.remobjects.com/oxygene.aspx A pleasure indeed ;-) I did not know Oxigene/Prism syntax has evolved fo far ahead of Delphi/FPC. While browsing their wiki, I found

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

2008-11-05 Thread Graeme Geldenhuys
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 c: Color := b.BackColor do begin ...