Log In  


Is there a good way to see the total token count of a cartridge that is #including code from external files?

I know you can save the cart as .p8.png to get the includes flattened and then see the token count, but that's kind of a painful workflow when you're optimising code for token count.

If not @zep can you add a way to do this? Maybe a new mode for the stat tracker in the code editor?

1


1

Five seconds after posting I've finally discovered the INFO command which does what I need. Never mind then I guess.


while true do info() end

is a useful command to create a continuously updating display if you don't mind polling constantly.



[Please log in to post a comment]