03-09-2021, 08:07 PM
Hello Boriel,
The following array initiation code I don't think is initiating the array data at the correct address. In the example below, the peek returns a value of 255 rather than 1, also @test doesn't return a value of $c000 (Version 1.15.0-beta4 + NextBuild)
The following array initiation code I don't think is initiating the array data at the correct address. In the example below, the peek returns a value of 255 rather than 1, also @test doesn't return a value of $c000 (Version 1.15.0-beta4 + NextBuild)
Code:
'!ORG=24576
'!OPT=4
dim test(0 to 3) as ubyte => {1,2,3,4} at $C000
'this should return 1
print at 0,0;peek($c000)
do
loop until inkey$<>""