Trying to READ into an array index specified with the VAR function (as in READ VAR("B%")[0]) triggers a crash. The crash appears to happen during compilation, as the program never gets a chance to run! It's also worth noting that VAR() as used on lines 12 and 20 is an undocumented feature. Official documented support would make us all happy. :-)