07-21-2019, 10:50 AM
Hi,
I have proved an old program from the ZX Spectrum Basic to Boriel's Basic.
Some 700 lines of code.
The program can compile now and it is running on a Spectrum emulator.
However I get an error "3 Subscript wrong, 30:1"
wich is a very generic error coming from the "RANDOMIZE USR 32768".
Is there any way to tell where the error occurred in my source file?
Here is what I used for compilation:
I have proved an old program from the ZX Spectrum Basic to Boriel's Basic.
Some 700 lines of code.
The program can compile now and it is running on a Spectrum emulator.
However I get an error "3 Subscript wrong, 30:1"
wich is a very generic error coming from the "RANDOMIZE USR 32768".
Is there any way to tell where the error occurred in my source file?
Here is what I used for compilation:
Code:
python3 zxb.py -taB program.bas --array-base 1 --string-base 1 --debug-array --debug-memory