Added the #while command to the script tokenizer and added #break and #continue to work with it. They work pretty much the same way as in C. Keep in mind that using #break is currently not required when using #switch, this because each #case automatically acts like it has a #break included.

Keep in mind that #break and #continue won't work with #loop or #forall, they will in the future though.

Notice variables are assigned as pairs of braces. To see the full nesting you'd use: #showme $bla which would print {{w}{1}{x}{3}{y}{5}}. To only see the first level of nesting you'd use: #showme $bla[] which would print {w}{x}{y}

Also added support for calcalutions within braces:

Code:

#var bla {{w}{1}{x}{3}{y}{5}}
#showme Test $bla[+1] $bla[+1+1]

Will print: Test 1 3

Notice that $bla[1] would return 0 because there is no nested variable with the name 1.