Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 583 Bytes

0023.md

File metadata and controls

27 lines (19 loc) · 583 Bytes

0023: Unexpected instruction

The compiler finds an incorrect syntax. It could be an error in a FOR loop or a malformed variable declaration.

Possible solutions: check the documentation and provide the correct syntax:

Variable declaration:

var <variable>: <type>

or

var
  <variable>: <type>
end

FOR loop syntax:

FOR <loop variable> = <initial value> TO/DOWNTO <final value> [step = 1]
  <the loop body>
END