Log In  


I was reading the Pico 8 manual and I was surprised to see that the pack() and unpack() functions aren't in the manual. I understand that they are Lua functions and not necessarily a Pico 8 API thing but it still feels like they're important enough to add here, especially since they are a great alternative to use a for loop to manually unpack these elements. Just here to ask if they could be added so more people can be aware of them please !! Especially the small percentage of people who do want to download the manual (hi) haha

1


I dunno, I don't think it's a "bug" to not document non-API Lua functions in the manual. They're in the Lua manual, which is referenced in the PICO-8 manual, and they're also in the PICO-8 wiki if you really need them bundled with the PICO-8 API docs.


4

@2bitchuck
Being in the Lua manual isn't really relevant, since pico-8 doesn't use the standard library. There's a lot of overlap in the types of functions included, but the details aren't the same. Some good examples are print(), which works differently, and tonumber() which works very differently. The standard library version also isn't pack(), it's table.pack().


1

@kimiyoribaka Hmm, you make a solid case. Maybe this is a bug then!


@kimiyoribaka Thank you for expanding on my point !! Yes, these are the main reasons I bring this up, since a person with just the manual would not be able to deduce that they're even a thing considering how much has been accommodated for Pico 8



[Please log in to post a comment]