Can Custom Functions Return Arrays?

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


On 7/19/07 11:31 AM, "Gregory Lypny" <gregory.lypny at videotron.ca> 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