Re: [fpc-pascal] fpc: -vm switch

2012-11-18 Thread Jonas Maebe
On 18 Nov 2012, at 23:19, Bart wrote: > Related to http://bugs.freepascal.org/view.php?id=23347 > > Using fpc 2.6.0 > Does 2.6.0 handle -vm switch, and how is it used? As it is described on the fpc help page (fpc -h, or fpc without any parameters) > In related bug http://bugs.freepascal.org/vi

[fpc-pascal] fpc: -vm switch

2012-11-18 Thread Bart
Hi, Related to http://bugs.freepascal.org/view.php?id=23347 Using fpc 2.6.0 Does 2.6.0 handle -vm switch, and how is it used? In related bug http://bugs.freepascal.org/view.php?id=15872 Jonas wrote (long time ago): -vm, : Don't show messages numbered and Does this still apply? If not, does t

[fpc-pascal] Re: How to make class constructor body calls descendant's overriden method/property?

2012-11-18 Thread leledumbo
> Both RegisterClass procedures I pointed out are methods of the framework, eg: Yes, I know. I implement it this way now: procedure RegisterClass(AClass: TghModelClass); procedure RegisterClass(AClass: TghModelClass; const AName: String); ... procedure RegisterClass(AClass: TghModelClass); var

Re: [fpc-pascal] Re: How to make class constructor body calls descendant's overriden method/property?

2012-11-18 Thread Joao Morais
On Sun, Nov 18, 2012 at 3:13 AM, leledumbo wrote: >> Tell the user of the framework to do something like this for every >> class of your model: >> >> initialization >> TUser.RegisterClass; >> TProduct.RegisterClass; >> ... >> >> or >> >> initialization >> RegisterClasses([TUser