exclude Parameter

Specifies the classes to be excluded from a view.

Scope: View

Syntax

query exclude 
set exclude ClassName [ClassName] [... ] 

Options

ClassName 
Name of classes to be excluded from the view, separated by blanks.

Description

The exclude parameter removes from the display, lines belonging to the specified classes. To be displayed, a line must belong to a class listed in set include, and must not belong to any class listed in set exclude. If no ClassName is specified, no classes are excluded.

You can override the effect of the include and exclude parameters for the current line only, using the showcurrent parameter.

Examples

  1. To exclude the COMMENT class in a source file, type:
    set exclude comment 
  2. To exclude CODE and COMMENT, type:
    set exclude code comment 

API Return Codes

-2 
The specified ClassName was not a valid class type. Use the query classes command to see which ClassName is currently defined, or use the set class command to define a new class. Issue the command again using a valid ClassName.

class Parameter
include Parameter
showcurrent Parameter