The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Debugging
#5
I can't reproduce that. Now I experience something slightly different.

Seems that input is not working anymore if I enable --enable-break.

The program does load but doesn't react on input anymore:
- Executing task: python3 zxb.py -taB program.bas --array-base 1 --string-base 1 --debug-memory --enable-break
- Executing task: python3 zxb.py -taB program.bas --array-base 1 --string-base 1 --debug-array --enable-break <
- Executing task: python3 zxb.py -taB program.bas --array-base 1 --string-base 1 --enable-break <

The program loads and seems to work correctly (with input):
- Executing task: python3 zxb.py -taB program.bas --array-base 1 --string-base 1

The program load, I can input something then "3 Subscript wrong, 30:0" error:
- Executing task: python3 zxb.py -taB program.bas --array-base 1 --string-base 1 --debug-array

Most probably this is also important:
I am using the
#include <input.bas>
in the first line of my program.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)