SourcePoint AMD Help

Table of Contents

#define

Create a debug alias.

Syntax

#define alias-name commands

Where:

alias-name

is an identifier that serves as an alias for the given command string.

commands

is a command or commands that are referenced by the alias name.

Discussion

Use the #define command to define a debug alias. A debug alias is a new string or alias for a command line string that can be one or more commands. ย SourcePoint reserved words cannot be used as aliases.

The debug alias can be defined inside or outside a control construct, a compound statement, or a debug procedure and is always global.

The ย show command displays a list of currently defined aliases. ย The remove and #undef commands can be used to remove alias definitions.

Example

To define an alias for an often-used load command:

Command input:

#define ld load c:\src\targdev

show alias

Result:

ld ย ย ย ย alias ย ย ย ย "load c:\src\targdev"

Related Topics: