Log In  


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 '-'

Cart #nogafekone-0 | 2023-03-19 | Code ▽ | Embed ▽ | No License

Pico-8 version i made the game at: 0.2.5c



1

I downloaded this cart and it doesn't run on my local PICO-8 either. It looks like your comments got messed up somehow as you have a bunch of free-floating END statements in the code. Here's a screenshot of tab 1, you can see what I mean:


@2bitchuck Thanks. Those free-floating end statements are shown as comments on my machine, maybe because of the outdated version.


1

v0.2.5f Changed: Nested long comments and strings no longer allowed

which is kind of sad



[Please log in to post a comment]