MEGA65 / eleven

Eleven IDE - improving upon the BASIC 65 experience
GNU General Public License v3.0
8 stars 1 forks source link

RGRAPHIC command throws a "unresolved identifier" error #7

Open hkramer70 opened 1 month ago

hkramer70 commented 1 month ago

Test Environment (required)

Describe the bug Compiling my source code (press F5) ends up in a error message "?unresolved identifier: rgraphic in line 42".

Line 42 is: if rgraphic(0,1)=0 then tw=319: else tw=639

To Reproduce Steps to reproduce the behavior:

  1. Create new file
  2. Declare the variable "tw"
  3. Enter my given line of code (see above)
  4. Press F5 to compile
  5. See error message

Expected behavior The command basic RGRAPHIC should not cause a compile error.

hkramer70 commented 1 month ago

I had a look into the PARSE.BAS file and, compared with my 11.parse prg file on the M65, the RGRAPHIC command is not part of that code. So it couldn't be found by the compiler ... if I do understand that code correctly. Maybe a newer version has fixed that issue already...?!