The current implementation of AScan indeed only supports single dimension arrays (primarily because I haven't figured out how to return the result for a multi-dim array yet). The '-1' return value is intended to indicate this.

Regards,

Ruud