Bryce, CJ, Ruud,
I thought I'd give this a whirl, and got an "Application error" "The instruction at "0x0040cc03" referenced memory at "0x00000000". The memory could not be read". Running in debug, ascertained it happens on the 3rd line of the UDF "if vartype($_temparray) = 0".

This happens with KiX32 4.02.

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.