Re: unexpected syntax error when defining a global variable?
ok, thanks. I saw the help said you could declare global and assign in a single command, but it does state "A global variable may only be initialized once in a global
statement..." as the only limitation. I guess it's related.
FYI - just tried on a friend's PC in ML and got a similar error (Error: Unbalanced or unexpected parenthesis or bracket.) so that behavior is compatible, but also noticed that ML doesn't allow you to do simple assignment at all.
global p_i = 5 Error: The expression to the left of the equals sign is not a valid target for an assignment.