Inspect Manual

Using Inspect With TAL and pTAL
Inspect Manual429164-006
13-11
Command Usage Guidelines for TAL and pTAL
Programmers
This example displays the structure NAME^MIDDLE^LAST:
-TALOBJ-DISPLAY name^middle^last
NAME^MIDDLE^LAST =
FIRST^INITIAL = "M"
MIDDLE^NAME[0] = "Treuhardt " ?0
LAST^NAME[0] = "Korhummel " ?0
BIRTH =
YEAR = 1844
MONTH = 10
DAY = 31
This example displays the structure NAME^MIDDLE^LAST, suppressing the identifiers
and quotes:
-TALOBJ-DISPLAY name^middle^last PLAIN
M
Treuhardt ?0
Korhummel ?0
1844
10
31
This example displays a field of the structure NAME^MIDDLE^LAST:
-TALOBJ-DISPLAY name^middle^last.last^name
NAME^MIDDLE^LAST.LAST^NAME[0] = "Korhummel " ?0
This example displays the substructure BIRTH. Note that you must specify its parent
structure, NAME^MIDDLE^LAST:
-TALOBJ-DISPLAY name^middle^last.birth
NAME^MIDDLE^LAST.BIRTH =
YEAR = 1844
MONTH = 10
DAY = 31
This example displays a field of the substructure BIRTH:
-TALOBJ-DISPLAY name^middle^last.birth.year
NAME^MIDDLE^LAST.BIRTH.YEAR = 1844
Command Usage Guidelines for TAL and pTAL
Programmers
The following guidelines for TAL and pTAL programmers using Inspect are arranged
alphabetically by Inspect command name. Not all commands are listed.
BREAK
If you set a breakpoint at the entry point of a scope unit, the break event it triggers
will occur before any initialization. Consequently, you should enter a STEPþ1S
command after the break event.