Log In  

1: Direct print of stat(31) breaks printing

2: Using _update60 causes stat(30) to break/desync sometimes

3: Calling stat(31) breaks later stat(30)/stat(31) calls


Keys only register if 2+ are pressed at once.

With _update60:

P#99836 2021-11-09 01:05 ( Edited 2021-11-09 01:06)

little experiment:

poke(0x5f2d,7)

function _update()
 a,b,c = stat(31)
 cls()
 print(tostr(a))
 print(tostr(b))
 print(tostr(c))
end

stat(31) returns two parameters! thats why it "breaks" the print.

User a brace to get rid of the second parameter: print( (stat(31)) )

P#99872 2021-11-09 18:07

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 14:56:18 | 0.005s | Q:12