A2501: TO expected

[ERROR]

Description

In a for directive, a TO was expected.

Example
    FOR j := $1000 < $1003

     DC.W j

    ENDFOR
  
Tips

Just use a TO in the example.

    FOR j = $1000 TO $1003

     DC.W j

    ENDFOR
  

Check that the Option -Compat=b is enabled.

See also