Re: [Gambas-user] New syntax for using variables arguments in a function call

2014-05-07 Thread Bruno Félix Rezende Ribeiro
Em Tue, 06 May 2014 09:51:00 +0200 Benoît Minisini escreveu: > In revision #6252, I added the following syntax: [...] Thank you! That is a very useful feature. Happy Hacking! -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(

Re: [Gambas-user] New syntax for using variables arguments in a function call

2014-05-06 Thread Fabien Bodard
H... sorry ... it was the "..." ... i see it now :-) 2014-05-06 21:49 GMT+02:00 Fabien Bodard : > §? > > Public Sub _GetSizeHints((AvailableW) As Float, (AvailableH) As Float, > (TotalWidth) As Float, (TotalHeight) As Float, DataIndex As Integer) > As TSizeHint > > hMyHints = Super._GetSi

Re: [Gambas-user] New syntax for using variables arguments in a function call

2014-05-06 Thread Fabien Bodard
§? Public Sub _GetSizeHints((AvailableW) As Float, (AvailableH) As Float, (TotalWidth) As Float, (TotalHeight) As Float, DataIndex As Integer) As TSizeHint hMyHints = Super._GetSizeHints(AvailableW, AvailableH, TotalWidth, TotalHeight, DataIndex) Where is the difference ? 2014-05-06 9:51

[Gambas-user] New syntax for using variables arguments in a function call

2014-05-06 Thread Benoît Minisini
Hi, In revision #6252, I added the following syntax: Public Sub Foo(X As Integer, ...) Super.Foo(X, ...) End It allows to send all variables arguments of a function to another function call. This was not possible before, especially when using Super and inheritance. Regards, -- Benoît M