Command Reference
6
40 PRINT A$ !PRINT STRING
50 END
COMPRESS
Compress subprogram. Removes the ASCII text of a specified subprogram
previously stored in memory. This saves memory space but removes the
subprogram from continuous memory (the subprogram will be destroyed when
power is removed).
Syntax
COMPRESS name
name
Subprogram name. A subprogram name may contain up to 10 characters. The
name can be alpha. alphanumeric, or an integer in the range of 0 to 127. Refer to
the
SUB
command for details.
Power-on name = none.
Default name = none; parameter required.
Remarks
– To avoid memory fragmentation, compress each subprogram before
downloading other subprograms.
– You cannot store the COMPRESS command as part of a subprogram.
– Related commands: CALL, CONT, DELSUB, PAUSE, SCRATCH, SUB, SUBEND
Example
The following program statement compresses subprogram TEST12 (previously
downloaded).
OUTPUT 722;"COMPRESS TEST12"
Keysight 3458A User's Guide
247