Log In  

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
P#28456 2016-09-13 05:34 ( Edited 2016-09-13 15:15)

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

P#28458 2016-09-13 11:15 ( Edited 2016-09-13 15:40)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-16 08:15:26 | 0.005s | Q:9