Passing unknown number of referenced variables to a function

Trevor DeVore lists at mangomultimedia.com
Thu Oct 28 12:08:39 EDT 2004


> Would it be possible in your case to use an array for now?

The function actually returns an array already.  I wanted to be able to 
create multiple arrays at once.  The array being returned is a db 
result set array that I use with my libDatabase library.  When running 
with a PHP application over the web I sometimes am working with 
multiple record sets returned in one request to the server.  I wanted 
to be able to return multiple arrays from a function that parsed all of 
the record sets returned in one request.  Each record set returned from 
the server has an identifier so I just modified my function to accept 
the identifier name and it returns the array for that record set.  I am 
calling it multiple times to get all of the record sets.


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



More information about the use-livecode mailing list