classes Parameter

Sets the number and names of classes for the current file.

Scope: File

Syntax

query classes 
set classes ClassName [ClassName] [...] 

Option

ClassName 
Up to 30 words, each naming a class. Each word in the list of classes is used to name the next class in sequence, always counting from left to right.

Description

The classes parameter sets the number and names of classes for the current file. At least one class must always be present. The default class is DATA. set classes can be used repeatedly to rename the current classes, but once a given number of classes has been set, the number of classes cannot be reduced.

Examples

  1. To set up three new classes, type:
    set classes TEXT GRAPHICS WASTE 

    If this is the first set classes parameter, it has the effect of increasing the number of classes available from one to three, and renaming the first (DATA) to TEXT.

  2. To discover the number and names of classes for a file, type:
    query classes 

API Return Codes

-2 
At least one ClassName option must be present. Issue the command again specifying a valid ClassName.
-3 
Too many classes are specified. Specify less than 30 ClassNames.

class Parameter