Log In  
Follow
septomin

The manual states that if you don't want to print a newline, you can include a \0 at the end of the string. However, if you do this, the cursor x position gets reset to 0 and the next thing printed will overlap:

For comparison PICO-8 keeps the x-position allowing you to print without overlap:

1
0 comments



When using split to convert strings to numbers (the default) it seems to have precision issues converting integers well below the 64 bit limit:

p=split("123456789", " ")
?p[1]
?math.type(p[1])

shows 123456792 and indicates the type is integer

p=split("123456789", " ", false)
n=tonum(p[1])
?n
?math.type(n)

shows 123456789 and also indicates the type is integer.

2
0 comments



Passing an object to dir seems to cause PICO-8 to exit immediately. Nothing relevant in log.txt.

To reproduce:

dir({})
1
0 comments