Log In  


Basically the title.

info([cart])--returns tokens,chars,compressed_size of [cart] or the current cart if given none

This could be useful for people who are creating carts using printh() and such, to detect if the cart is able to be run before load()ing it:

tokens,chars,compressed=info("cart.p8")
if(tokens<8192 and chars<65536)load("cart.p8")

What do you all think?

1



[Please log in to post a comment]