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:


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 2023-09-26 13:22:41 | 0.006s | Q:6