Passing unknown number of referenced variables to a function

Trevor DeVore lists at mangomultimedia.com
Thu Oct 28 13:25:32 EDT 2004


On Oct 28, 2004, at 9:53 AM, Dr.John R.Vokey wrote:

> Not true; just create the function with more input variables than you 
> would ever need to pass to it, then use the paramCount and params 
> functions within it to retrieve those passed.

That works for passing data into a function but not for using 
referenced variables as parameters.  If you don't supply a variable for 
every parameter that is referenced (@pParma) then you get an error 
message.



-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the Use-livecode mailing list