Squeezing Basic Programs
by Barry Christie

Double clicking on the !PSquash icon pops up a dialogue box allowing the SqshModule module to be copied to an appropriate directory on your work disc. Once the module has been loaded, either by double clicking on its icon or using RMload, it provides the command Squash.

To compress a Basic program, use

*Squash <source filename> <destination filename>

This will save a Squashed version of the program under the given filename. Note that the module Squashes star commands, so that all operating system commands must be executed using OSCLI. Also assembler mnemonics must be in upper case, and variable names must begin with a lower case letter.

The assembler source code for the module is saved in !PSquash as PSquash