[Gambas-user] About call sub from string

Tobias Boege taboege at gmail.com
Thu Jan 7 14:47:10 CET 2021

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 ?



  Object.Call(Me, "masub", [...])

no matter how many arguments you want to pass, e.g.

  Object.Call(Me, "masub", [monstring, monarray])

"There's an old saying: Don't change anything... ever!" -- Mr. Monk

More information about the User mailing list