Inspect Manual
Using Inspect With TAL and pTAL
Inspect Manual—429164-006
13-10
Structures and Substructures
access^info:
'L' + 1 WORDS
dimension^info:
[0:9]
Structures and Substructures
Inspect supports TAL and pTAL structures and substructures, as shown in the following
example, which assume these TAL declarations:
STRUCT alphabetics;
BEGIN
STRING caps [1:26];
STRING smalls [1:26];
STRING misc [1:10];
END;
STRUCT name^middle^last;
BEGIN
STRING first^initial;
STRING middle^name [0:19];
STRING last^name [0:19];
STRUCT birth;
BEGIN
INT year;
INT month;
INT day;
END;
END;
Here are the internal attributes of the structure ALPHABETICS:
-TALOBJ-INFO IDENTIFIER alphabetics
ALPHABETICS: VARIABLE
storage^info:
TYPE=WORD STRUCT, ELEMENT LEN=16 BITS, UNIT SIZE=31 ELEMENTS
access^info:
'L' + %136 WORDS
structure^info:
CHILD=CAPS
Here are the internal attributes of one of the fields in the structure ALPHABETICS:
-TALOBJ-INFO IDENTIFIER alphabetics.smalls
SMALLS: VARIABLE
storage^info:
TYPE=CHAR, ELEMENT LEN=8 BITS, UNIT SIZE=1 ELEMENTS
access^info:
(parent) + 0 + %15 WORDS
dimension^info:
[1:26]
structure^info:
PARENT=ALPHABETICS,SIBLING=MISC