5-26 Command Reference
CLEAR
Purpose Deletes data from data items.
Syntax CLEAR

item

Process The CLEAR command deletes data from

item

. Control always passes to the next
line.
NOTE: You must define a buffer before you can clear it.

Item

is the data item to clear. It can be one of the following:

Item

Description
PRINTER Printer Buffer
INPUT Input Buffer
DISPLAY Printer’s Screen
TEMPORARY Temporary Buffer Record
Logical Field Name
(TEMP1)
Temporary Buffer Field
Logical Field Name (LU1) Lookup Buffer Field
Logical Field Name
(Field1) [Index]
Array Buffer Field
Logical Field Name (PR1) Printer Buffer Field
NUMBERPRINTED Number of labels printed
INPUTTEMPLATE Input Template, Chartype, and DataType settings
SCRATCH Scratch Buffer
COMM Communications port

Example 1

This example clears the Printer Buffer and passes control to the next line.
CLEAR PRINTER

Example 2

This example clears temporary buffer field TEMP1 and passes control to the next
line.
CLEAR TEMP1