By accident I get this syntax error when I compiled the program.
This error occur only if we put a key in the place of brackets on left side of index array with use of "IF" statement and maybe in another control flux of program. The program don't warn correctly, the line cursor goes for last line program+1 and the CPU of PC stay holds more than 80% of load.
Example code that generates error:
Code: Select all
Dim a, b as Byte[2]
main:
if a{0] = 0 then
b[0] = 0
else
b[0] = 1
end if
end.
Messege window after to try to close the program.
of course, this error window should be provoked by the syntax check.