SCRATCHallows you to clear the BASIC program, program variables,COMvariables, softkey macro definitions and the recall buffer. The following paragraphs explain each variation ofSCRATCH:
SCRATCH
Deletes the current BASIC program and any variables not inCOM.
SCRATCH A or ALL
SCRATCH Aclears the BASIC program, all variables, including those inCOMand all softkey macro definitions. Internal parameters are set to their default, start-up values.SCRATCH ALLis synonymous withSCRATCH A.
SCRATCH B or BIN
In HTBasic,SCRATCH Bis equivalent toSCRATCH A. In HP BASIC, it deletes allBINs except the CRT driver in use. In HTBasic,BINs are used for device drivers which can't beSCRATCHed.SCRATCH Bis synonymous withSCRATCH BIN.
SCRATCH C or COM
SCRATCH Cclears all variables including those inCOM, but leaves the BASIC program and the softkey macro definitions intact.SCRATCH COMis synonymous withSCRATCH C.
SCRATCH KEY [key-number]
Without the optional key number, this command clears all the softkey macro definitions. With the key number, only the specified key is cleared. The key-number may be a numeric expression which is rounded to an integer and must be in the range zero through twenty-three.
SCRATCH R or RECALL
SCRATCH Rclears the keyboardRECALLbuffer.SCRATCH RECALLis synonymous withSCRATCH R.