NAME CRUNCH - crunch Basic program SYNOPSIS *Crunch DESCRIPTION *Crunch crunches the BASIC program in memory. It does this by removing the following: - all REMs - all assember \ or ; comments - lines starting with a | character - all empty lines - all superflous colons - all spaces before and after tokens - all spaces before and after statements It does not crunch variable names, or remove spaces within statements that are not adjacent to a token. Also, no check is made that an empty line is not a destination of a GOTO/GOSUB/RESTORE, so make sure they refer to a non-empty line. Note that crunching a program can make it completely uneditable, so you should save the resulting program as a different file to the source code. If you run *Crunch from an executing program you will get unpredicatable errors as the program gets moved while the command is executing. *Crunch is ideal to use as part of a build sequence to build a BASIC program from multiple source files. Runs on 6502 BBC BASIC on either side of the Tube. SEE ALSO link(1)