Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:54 pm
by Jade Support >> Thu, 13 Oct 2005 22:29:28 GMT
Yes, this will work. However, there are a couple of considerations.
Since the variable parameter list has a single formal definition all actual parameters must be compatible with the declared usage, ie if the parameter list is declared usage IO all parameters passed must be updatable (not constant). The compiler will enforce this, passing a constant will result in a syntax error: "Cannot assign to constant".
The formal parameters of the method being called do not need to be usage IO for this to work, however when the method is called the value will be copied back from the parameter even though it's value has not changed.
Jade Support.