This test demonstrates that ScriptBasic evaluates first the left values and then the expression. Therefore this program prints 56.
Example evaorder.bas :
z =55
a[q()] = z
print a[56]
function q
z = z + 1
q = z
end function
Result executing evaorder.bas :
Possible error messages sent to stderr: