Browsing StarfallEx's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2023-02-11. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Functions with arbitrary argument counts

⭐ StarfallUpdated 2 days ago•0 views
Use varargs (...) in the signature; for fancier behavior use metatables (__index/__newindex/__call) to intercept lookups and calls.

How to make a function with an arbitrary number of arguments

Use varargs (...) in the signature; for fancier behavior use metatables (__index/__newindex/__call) to intercept lookups and calls.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.