Hello! I've made a cart on my console and it runs there. But when I upload it onto BBS, it gives a syntax error.
Error:
syntax error line 5 (tab 1)
-return fget(mget(x/8,y/8),f)
<eof> expected near 'end'
Function:
function gfap(x,y,f)
-return fget(mget(x/8,y/8),f)
end
i've marked indent spaces as '-'
Pico-8 version i made the game at: 0.2.5c
P#127317 2023-03-19 11:27 ( Edited 2023-03-19 11:39)


@2bitchuck Thanks. Those free-floating end statements are shown as comments on my machine, maybe because of the outdated version.
P#127320 2023-03-19 13:00 ( Edited 2023-03-19 13:02)

1

v0.2.5f Changed: Nested long comments and strings no longer allowed
which is kind of sad
P#127321 2023-03-19 13:02
[Please log in to post a comment]