beautypg.com

Define [string – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 648

background image

A–28

RSView32 User’s Guide

Define

Define [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.