[Gambas-user] About call sub from string
Olivier Coquet
ocoquet at 3d-phenomen.fr
Thu Jan 7 14:51:51 CET 2021
Many thank's
Olivier Coquet
Le 07/01/2021 à 14:47, Tobias Boege a écrit :
> On Thu, 07 Jan 2021, Olivier Coquet wrote:
>> So, just a little problem,
>>
>> Function that i call with object.call take tow arguments.
>>
>> First is a string
>>
>> Second is an array of strings.
>>
>> How can I pass this tow arguments in a single array ?
>>
> masub(...)
>
> becomes
>
> Object.Call(Me, "masub", [...])
>
> no matter how many arguments you want to pass, e.g.
>
> Object.Call(Me, "masub", [monstring, monarray])
>
More information about the User
mailing list