[BBC-Micro] BBC Script and Crunch

Jonathan Graham Harston jgh at arcade.demon.co.uk
Mon Apr 7 00:43:41 BST 2008


> Message-ID: <4f04e78b4f.Andrew at no.reply>
 
Andrew wrote:
> BBC Script
> Machine BBC B
> OSCLI"BFS"
> LOAD"VICTORY"
> OSCLI"CRUNCH BCLSVT:":SAVE"VICTORY2"
> HMLOAD
> 
> However checking the listing when the main program "victory2" (which
> HMLOAD is supposed to CHAIN) the REM statements are still there.
 
The parameters to *CRUNCH specify what /not/ to remove, so you are
telling *CRUNCH to:
 
not remove brackets
not concatenate lines
not removes LETs
not remove REMs
not remove spaces
not remove THENs
not contract variable names
not removes colons and null lines
 
...which is exactly what you have reported it doing.
 
-- 
J.G.Harston - jgh at arcade.demon.co.uk - mdfs.net/User/JGH
The most perfect world is an imperfect world as the imperfections
give people a reason to strive to change it.



More information about the bbc-micro mailing list