SourcePoint Intel Help

Table of Contents

isdebugsymbol

Determine if a string is the name of a debug variable.

Syntax

[result =] isdebugsymbol(symbol)

Where:

result

is a boolean variable to which the return value is assigned. It is TRUE if the symbol exists, or FALSE if it does not exist.

symbol

is a string constant or nstring variable specifying the debug variable name to look up.

Discussion

The isdebugsymbol function checks to see if a debug variable of that name has been defined.

Example 1

Command input:

define ord4 x = 5
isdebugsymbol("x")

Result:

TRUE

Example 2

Command input:

define nstring s = "x"
isdebugsymbol(s)

Result:

TRUE

Related Topics: