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