Can Custom Functions Return Arrays?

Dave Cragg dave.cragg at
Thu Jul 19 15:06:20 EDT 2007

On 19 Jul 2007, at 19:31, Gregory Lypny wrote:

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

Right. But you can pass in a reference to an array as a function  
argument, which may help you.

function testFunction @pArray
   put "sometext" intp pArray[3]
   return empty
end testFunction

And in the calling handler:

local tArray
get testFunction(tArray)


More information about the Use-livecode mailing list