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
Possible String issue? (*solved*)
#19
LTee Wrote:
Code:
Traceback (most recent call last): File "C:\program files\zxbasic\zxb.py", line 312, in <module> sys.exit(main(sys.argv)) # Exit File "C:\program files\zxbasic\zxb.py", line 265, in main asm_output = backend.emmit(MEMORY) File "C:\program files\zxbasic\backend\__init__.py", line 2384, in emmit output_join(output, QUADS[i.quad[0]][1](i)) File "C:\program files\zxbasic\backend\__array.py", line 391, in _astorestr raise InvalidIC(str(ins)) backend.errors.InvalidIC: Invalid intermediate code instruction: "('astorestr', '_testglobal', '#__LABEL0')"

Any ideas? The example without the arrays is compiling and running okay, as is the version with arrays indexed with literal numbers rather than with an array.

I'm using the zip package with python scripts this time, by the way.
Yep. It means the low level part of the compiler in charge of generating that instruction is not implemented yet :wink:
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)