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?
![](/gfx/set_like0.png)
1
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bbs/files/11129/mechtoast.png)
Five seconds after posting I've finally discovered the INFO command which does what I need. Never mind then I guess.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bbs/files/11129/mechtoast.png)
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]