I was perusing through the SCI Studio documentation, but was unable to find a particular piece of information. In the SCI Studio Language, is there any syntax to check the parameter count of the current method or access the parameters by index?
For Example:
(method (Example params)
(var index)
(=index 1)
(while (index < ParamCount)
(+= params[index] 5)
(++ index)
)
)
In the fantasy land where this code would be correct, it would add 5 to every parameter passed to the method, allow any number of parameters from 0 to a bunch, and be able to reference parameters not specifically identified in the method's declaration.
Is there a way to accomplish this in SCI Studio?