You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Christian Petersen edited this page Feb 10, 2017
·
2 revisions
Some functions and methods in Angelscript support the use of variable arguments. This allows you to pass a variable number of arguments to the function or method.
Using varargs
Using varargs is mostly the same as using regular arguments, but there are some things to be aware of.
When you pass reference types to varargs functions, make sure to convert it into a handle using @obj. Otherwise Angelscript will attempt to copy construct it.