Isalive - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 11: Predefined Macros

isalive

isalive
Function
Check the status of a specified symbol
Synopsis
int isalive (symbol_name)
void symbol_name;
Description
The isalive macro can tell you whether a symbol is defined, and additionally if
it currently active or available on the stack.
Diagnostics
Returns one of the following four values, depending on the status of the
symbol:
Value
-1
0
1
2
Example
Symbol Add foo <tab> Address 0x1000
Expression Printf "%i", isalive(foo)
because symbol is defined and active
458
Meaning
Symbol does not exist
Symbol not currently active (cannot be referenced)
Symbol currently active (part of the local procedure)
Symbol available on the stack (not part of the local procedure)
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents