Re: [fpc-pascal] Debug a getter (was Lazarus vs MSEgui)

2016-04-09 Thread Martin
On 09/04/2016 21:34, Michael Thompson wrote: On 8 April 2016 at 17:08, Santiago A. > wrote: By the way, has anybody managed to debug strings.text or any property with a getter? I was hoping someone would answer this. I currently insert the equivalent of s

Re: [fpc-pascal] Debug a getter (was Lazarus vs MSEgui)

2016-04-09 Thread Graeme Geldenhuys
On 2016-04-09 21:34, Michael Thompson wrote: > I was hoping someone would answer this. I currently insert the equivalent > of > sHack := MyStrings.Text; Yes, that is a shortcoming of using the GDB debugger. Currently querying a result of property Getter function is not possible with GDB. You hav

[fpc-pascal] Debug a getter (was Lazarus vs MSEgui)

2016-04-09 Thread Michael Thompson
On 8 April 2016 at 17:08, Santiago A. wrote: > By the way, has anybody managed to debug strings.text or any property > with a getter? > I was hoping someone would answer this. I currently insert the equivalent of sHack := MyStrings.Text; into code, and watch that Means I have to know I w

Re: [fpc-pascal] Class vs Object type

2016-04-09 Thread Richard Ward
<> > I use Class and Object data types frequently in my code. I like the fact > that Object data types can be used without first instantiating an > instance and it gets freed automatically. > > It has to be said that for more complex "objects" I always use a Class > type though. Also, Delphi comp

Re: [fpc-pascal] How do record variants without a field name?

2016-04-09 Thread leledumbo
> I posted this to Stack Overflow (http://stackoverflow.com/questions/36504292/iso-pascal-record-variants-without-a-field-name), but it hasn't gotten any feedback There are 2 answers already ATM, so I won't add the 3rd one (hard to get upvote :p) > what's the purpose of the Case Boolean part? Th

Re: [fpc-pascal] Lazarus vs MSEgui

2016-04-09 Thread Martin Schreiber
On Friday 08 April 2016 17:08:08 Anthony Tekatch wrote: > > Can MSEgui/MSEide be used to make programs for Mac OSX ? > Currently not. In case of OSX-X11 compatibility layer the effort probably is manageable. I would prefer a Quartz backend. Sponsors wanted! ;-) Martin

[fpc-pascal] How do record variants without a field name?

2016-04-09 Thread Ryan Gonzalez
I posted this to Stack Overflow ( http://stackoverflow.com/questions/36504292/iso-pascal-record-variants-without-a-field-name), but it hasn't gotten any feedback. So, here I go... Free Pascal allows you to do this: type RPoint = Record Case Boolean of False : (X,Y,Z : Real); True : (R,t

Re: [fpc-pascal] Lazarus vs MSEgui

2016-04-09 Thread Michael Schnell
My very short list: Pro Lazarus: - The LCL is very compatible with the Delphi VCL and so you can easily port Delphi VCL applications to Linux (but for reasons I don't understand Delphi moved to Firemonkey). - On top of that there is a great number of rather compatible "widget types" that all

Re: [fpc-pascal] Lazarus vs MSEgui

2016-04-09 Thread Anthony Tekatch
On Fri, 8 Apr 2016 11:08:41 +0200, "Santiago A." wrote: > Cons. The most important. It looks like Lazarus has more developers, so > may be a better decision for the long term. > The second is the RAD. The immediate two directions updates, from GUI to > source and from source to GUI, is very hand