Can Custom Functions Return Arrays?

Gregory Lypny gregory.lypny at
Thu Jul 19 14:31:09 EDT 2007

Hello everyone,

I've created a custom function that is supposed to return an array,  
but it doesn't work.

return myArray ===> error

I know the function has created the array because it will return  
individual elements.

return myArray[4] ===> gives element 4

And the function will gladly convert the array it created to a list  
and return that.

combine myArray using return and tab
return myArray  ===> gives a tab-delimited list

So, is it that Revolution custom functions cannot return arrays or am  
I doing something wrong?



More information about the Use-livecode mailing list