[Gambas-user] New syntax for using variables arguments in a function call
Fabien Bodard
gambas.fr at ...626...
Tue May 6 21:50:07 CEST 2014
Haaaa... sorry ... it was the "..." ... i see it now :-)
2014-05-06 21:49 GMT+02:00 Fabien Bodard <gambas.fr at ...626...>:
> §?????
>
> 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 GMT+02:00 Benoît Minisini <gambas at ...1...>:
>> 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 Minisini
>>
>> ------------------------------------------------------------------------------
>> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
>> 3 signs your SCM is hindering your productivity
>> Requirements for releasing software faster
>> Expert tips and advice for migrating your SCM now
>> http://p.sf.net/sfu/perforce
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard
--
Fabien Bodard
More information about the User
mailing list