Log In  

I'm surprised I haven't noticed this before.

I'm not sure if this is a regression in 0.2.1b or if it got outright broken, but @zep, I swear you fixed it in the past. But in 0.2.1b pack() is always setting the table.n value to 0:

P#82428 2020-09-29 15:54 ( Edited 2020-09-29 15:57)

What is pack()? I can't find it in Lua manual, and in PICO-8 manual it only appears in the changelog.

P#84988 2020-12-03 10:57 ( Edited 2020-12-03 10:57)
1

It's from Lua's table manipulation library.

...it would probably be helpful if there were a list in the PICO-8 manual of every Lua command from the Lua libraries in the Lua docs that PICO-8 includes and what they're called in Lua.

P#84991 2020-12-03 13:15
1

@packbat Thanks, I guess I didn't Ctrl-F hard enough :P

P#84993 2020-12-03 15:26

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-01-16 13:07 | 0.025s | 2097k | Q:18