I think it would be nice if dofile() could be used to import libraries and then use the in the code in your cart.

Here I would load my Library with some nice advanced printing functions and then I would use them in the code given in the cart.
I think it could be done by making dofile() insert the code out of the file virtually at the position where the dofile() stood.
Wouldn't this defeat the purpose of having a code limit?
insert the code out of the file virtually at the position where the
dofile()stood.
It wouldn't defeat the limit if the file is inserted into the same buffer as the cartidge...
The buffer could still be limited.
Most helpful comment
It wouldn't defeat the limit if the file is inserted into the same buffer as the cartidge...
The buffer could still be limited.