Re: [fpc-pascal] Problem with Objective Pascal and delphi mode

2010-01-30 Thread Jonas Maebe
On 30 Jan 2010, at 20:08, Felipe Monteiro de Carvalho wrote: > One more thing, why is the modeswitch called objectivec1 ? It could be > objectivepascal instead. > > Does the number 1 imply that it's version 1 of the mode and there may > be multiple versions supported at the same time? Or was it

Re: [fpc-pascal] Problem with Objective Pascal and delphi mode

2010-01-30 Thread Felipe Monteiro de Carvalho
Thanks Jonas, One more thing, why is the modeswitch called objectivec1 ? It could be objectivepascal instead. Does the number 1 imply that it's version 1 of the mode and there may be multiple versions supported at the same time? Or was it for Objective C Runtime Library 1.0 ? (I am almost sure th

Re: [fpc-pascal] Stupid question: is this safe?

2010-01-30 Thread Bart
On 1/30/10, Marco van de Voort wrote: > Btw http://bugs.freepascal.org/view.php?id=15633 > > I also updated the unit test with your most recent questions. Saw that. We're almost there I guess. I'll post back in Mantis. Thanks, Bart ___ fpc-pascal mai

Re: [fpc-pascal] Stupid question: is this safe?

2010-01-30 Thread Marco van de Voort
In our previous episode, Bart said: > > The only problem that can occur is a range check run time error in case > > range checking is enabled. > > Ok, thanks for the quick answer. > I actually need this in the fix for IntStrToTime() I'm working on. Btw http://bugs.freepascal.org/view.php?id=1563

Re: [fpc-pascal] Stupid question: is this safe?

2010-01-30 Thread Bart
On 1/29/10, Jonas Maebe wrote: > The only problem that can occur is a range check run time error in case > range checking is enabled. Ok, thanks for the quick answer. I actually need this in the fix for IntStrToTime() I'm working on. Bart ___ fpc-pas

Re: [fpc-pascal] OOP and XML usage

2010-01-30 Thread Jorge Aldo G. de F. Junior
using my system you can retrieve the text by a typecast mytag.first; mytag.findofclass(TXMLText); <- will stop the search at the first object of specified class If mytag.child is TXMLText Then <- to guarantee that we have found something WriteLn((mytag.child as TXMLText).Content); <- will print