Log In  

Parameter string (stat(6) breaks between reload.

Stat(6) is read correctly on first boot, but after reloading the cartridge (ctrl+r), the parameter string is cleared and calls to stat(6) in the "new session" are always blank.

This makes using stat(6) for something like a debug flag unfeasible, and seems to me to be a bug.

Demo Cartridge:

print("stat6:")
print(stat(6))

Invoking the program with pico8.exe -run stat6 -p debug:

First run

This is correct; the parameter string was 'debug'

After reloading with ctrl+r

This is incorrect; the parameter string should still be 'debug', but was cleared.

P#97860 2021-09-26 19:26 ( Edited 2021-10-01 01:30)


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 07:28:26 | 0.004s | Q:7