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
@array broken? (*solved*)
#1
I think something broke in the Array code. (Perhaps in asm function _ARRAY ?)

Code:
DIM udg(7) AS uByte => {24,88,126,26,120,72,206,2} POKE UINTEGER 23675,@udg(0): REM udg(0) is the 1st array element PRINT @udg(0) STOP

This code crashes the spectrum - without any reference to @udg, it runs perfectly; so it seems to be the @udg calculation that is breaking.

ZXB 1.2.4.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)