You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was doing some tweetcart experiments and accidentally did a divide-by-zero which crashed the app. pico-8 handles this quietly, which IMO is a double edged sword, but a run-time error would be fine I think.
Activity
planer28 commentedon Jun 29, 2018
I tried this in JavaScript:
And nothing happened, it didn't crash and didn't throw an error.
So I'm guessing it's Lua-exclusive?
frenetic commentedon Oct 9, 2018
It may be a Lua thing...
http://lua.2524044.n2.nabble.com/catching-divide-by-zero-td7655163.html
nesbox commentedon Apr 9, 2020
I tested the code
and got

infoutput without any crashSeems, the crash occurred in the other situation, closing.
12buntu commentedon Dec 27, 2020
This issue still occurs while using Wren and the
linefunction:Should I open a new issue?
RobLoach commentedon Dec 27, 2020
Maybe an issue for Wren?