Not to get off on a tangent, but a foreach that works on tokenized string would be nice. Don't quote me on syntax, but something to the effect of
var %tokens = a.b.c.d.e.f.g
foreach (%tokens as %tok, 46) {
echo %tok
}
compared to
var %tokens = a.b.c.d.e.f.g, %a = 1
while ($gettok(%tokens, %a)) {
echo $ifmatch
; this assuming you are only using it in this block. If you should sue it in a nested
; condition, you would need another line:
; var %tok = $ifmatch
}
Again, don't know how you'd get the params to be specified, but you have it disassemble a tokenized string into a variable, and tell it what character you want it tokenized by.