I've been writing an Applesoft BASIC program over the last few months or so (IIgs and IIe, ProDOS 2.4.2 with BASIC.SYSTEM v1.6).
My large BASIC program was sitting at something like 51 ProDOS blocks. As this program evolved and better coded subs were written, big gaps in my line numbers appeared.
I copied my BASIC program over to DOS3.3 so I could use the 'RENUMBER' program from the Apple DOS3.3 Master disk. The program worked perfectly.
When I moved my new BASIC file over to ProDOS, it was 19 blocks! I thought it was odd, 32 blocks taken up by gaps in line numbers?
So I loaded my original basic program and
LISTed it into a sequential text file. Then
EXECed the text file (complete with the same gaps in line numbers) back into Applesoft. Saved this file... Only 19 blocks, same size the new renumbered program file.
Okay, so my original BASIC program has an extra 32 blocks which is not due to large gaps in line numbers... What’s consuming all the extra space?