2.44. evaorder.bas

[<<<] [>>>]

This test demonstrates that ScriptBasic evaluates first the left values and then the expression. Therefore this program prints 56.

Example evaorder.bas :

function q
 z = z + 1
 q = z
end function

z =55 a[q()] = z print a[56]

Result executing evaorder.bas :

Possible error messages sent to stderr:


[<<<] [>>>]