The '...' operator
Ok lets say we have a function
Code:
I want to know how to access the extra parameters passed in the '...' part, not sure if I worded that right. Thanks for any help! gaben |
vformat will be introduced in the next release.
for now use set,get,num -args |
Depends on what you want to do. To simply access an argument: getarg()
Example from the small docs: Code:
sum(1,5,6) should return 12. edit: I guess this is what Freecode meant, but I didn't get it so I posted again ^_^ |
thanks a ton guys :)
|
| All times are GMT -4. The time now is 05:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.