The following code works:
for i = -32767,-32765 do print(i) end |
-32767 -32766 -32765 |
But this one just does nothing:
for i = -32768,-32765 do print(i) end |
Also, the following code works:
for i = -32765,-32767,-1 do print(i) end |
-32765 -32766 -32767 |
However this one causes an infinite loop:
for i = -32765,-32768,-1 do print(i) end |



the manual states that PICO-8 numbers only go up to 32767.99, so can we assume the same is true for negative numbers having a limit of -32767.99?
UPDATE: nevermind.. Thinking about this longer than half a second, I realized the valid range should be -32768.0 to 32767.99
[Please log in to post a comment]