Re: [Gambas-user] Possible bug extending array class of non-native classes [Was: Advising methods of non-fixed argument tuple in a parent class]

2014-04-15 Thread Bruno Félix Rezende Ribeiro
Em Tue, 15 Apr 2014 12:55:51 +0200 Tobias Boege escreveu: > And finally let me tell you something about extending classes: it gets > especially cool when you call your extending class like the extended > class. Above, you would not call your class VariantArray but > Variant[]. [ At present, you h

[Gambas-user] Wrapping methods which accept optional arguments

2014-04-15 Thread Bruno Félix Rezende Ribeiro
Hello Again! Suppose we are overriding the class 'Array' to add the event 'Update' which will be raised after the completion of any method which could possibly modify the array structure. We start by the 'Remove' method which has the following signature: Public Sub Remove(iIndex As Integer, Op

[Gambas-user] my belated vishu gift

2014-04-15 Thread monika
=?UTF-8?B?4LS14LS/4LS34LWB4LSa4LWN4LSa4LS/4LSw4LS/4LSq4LWN4LSq4LSf4LSV4LWN4LSV4LSCLm1wNA==?= (2M) -- View this message in

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-15 Thread Bruno Félix Rezende Ribeiro
Em Tue, 15 Apr 2014 12:55:51 +0200 Tobias Boege escreveu: > If I was to sum up your post: you want to call a method of Super with > a variable argument list? Yup. You got that perfectly right! ;-) I wonder if using your summarizing sentence right away from the beginning of my original text wou

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-15 Thread B Bruen
On Tue, 15 Apr 2014 12:55:51 +0200 Tobias Boege wrote: > At > present, you have to create .src/Variant[].class outside of the IDE in your > project because the IDE forbids use of brackets in class names. However, the > interpreter doesn't seem to have any problems with that. Nice tip Tobi, I ne

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-15 Thread Tobias Boege
On Mon, 14 Apr 2014, Bruno F??lix Rezende Ribeiro wrote: > Hello all! > > Suppose we want an array of variants which has the nice property of > raising an event after any modification, like addition or removal of > elements, has occurred to itself. Since the class 'Variant[]' does not > have this

[Gambas-user] Issue 520 in gambas: System.DataTypes is writeable

2014-04-15 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 520 by adamn...@gmail.com: System.DataTypes is writeable http://code.google.com/p/gambas/issues/detail?id=520 1) Describe the problem. The System class override in gb.eval