Open Gud305 opened 2 years ago
I tested this on V920349
Shouldn't be this issue at https://github.com/MEGA65/mega65-rom-public/issues instead? @Edilbert ?
Yes, it's in the wrong repo, thank you @Gud305 for raising the issue and @lgblgblgb for bringing it to my attention. The issue is fixed in ROM version 920360, available in #closed-rom at discord and on the filehost. @Gud305 , close this issue please, I have not the permission to do that.
Sorry for the wrong repo. I have teste 920360, and now it can run http://vintage-basic.net/bcg/superstartrek.bas without problems
Disclamer: my conclusion can be wrong.
When trying the old Star Trek basic game, I discovered a wired syntax error, that seems to only appear in BASIC65, when a function named D access an array. The following code gives a syntax error in line 60 10 DIM X(8) 20 X(2)=2 30 DEF FND(Q)=X(2)2 40 DEF FNDM(Q)=X(2)3 50 PRINT FNDM(0) 60 PRINT FND(0)
When running in 64 mode, it returns the correct value, without a syntax error.