Hi,In oScript, there are a couple of functions such as CAPI.Exec, Str.Format, which have a variable length list of optional parameters.We sometimes need to wrap these functions up in our own functions. However, I don't really know how to pass through these optional parameters. For example, I would like to write a function like this (pseudo code)function MyFunc( arg1, arg2, optionalargs = ... )...CAPI.Exec(connect, statement, optionalargs)...endSo could anyone explain to me- How to set up a function with variable length optional parameters like MyFunc above.- How to pass those parameters through (say, move them up the stack).I even tried thisList customparams = {a1, a2, a3}CAPI.Exec( connect, statement,
@customparams )But Builder rejected to compile that.Thanks,Thanh