Define – Rockwell Automation RSView32 Runtime Users Guide User Manual

Page 52

Advertising
background image

RSView32 commands

A–21

Define

Define <symbol> [string]

Creates a symbol. A symbol is an abbreviation for a command or a
command with parameters. The symbol can be used anywhere a
command can be used. You cannot nest symbols.

Symbol definitions are valid only during the current session; they must
be re–defined each time RSView32 is restarted. Symbols are typically
defined in a startup or login macro.

<symbol>

The abbreviated command. It cannot contain spaces.

[string]

An existing command with or without parameters. It
can contain spaces and other non-alphanumeric
characters. Omitting the [string] parameter deletes the
symbol definition.

See also Undefine.

Examples: The Define command

Define Di Display

Creates the symbol Di for the command Display. Typing Di as a
command in any valid command syntax will have the same effect as
typing Display.

Define Show Display Overview /CC

Creates the symbol Show for the command Display Overview /CC.
Whenever Show is used, the graphic called Overview is displayed in
the center of the screen.

Define Di

Deletes the symbol Di.

Advertising