Can Custom Functions Return Arrays?

Dick Kriesel dick.kriesel at
Thu Jul 19 15:31:58 EDT 2007

On 7/19/07 11:31 AM, "Gregory Lypny" <gregory.lypny at> wrote:

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

The following works for me:

on foo
  put bar() into x
  put the keys of x
end foo

function bar
  put 2 into a[2]
  put 4 into a[4]
  return a
end bar

Does it work for you?

-- Dick

More information about the Use-livecode mailing list