Creating a new descriptor
Looking again at the Descriptor list box in Figure 1 , notice that only the first entry is an
actual descriptor. The remaining selections, which are all enclosed
in angle brackets and all begin with the word new, are
for creating new descriptors. Following is the
list from Figure 1:
Figure 1. Contents of the Descriptor list box with one
actual descriptor
Fields Counts and OIA
<new string descriptor>
<new cursor descriptor>
<new attribute descriptor>
<new condition descriptor>
<new variable update>
For example, if you clicked <new string descriptor>, the Macro
object would create a new String descriptor and place it at the start
of the list. The lower area of the Description tab
would allow you to fill out the various fields that belong to a String
descriptor (such as a row and column location and a character string).
The Descriptor list box would then
look like this:
Figure 2. Contents
of the Descriptor list box with two actual descriptors
In Figure 2, the currently selected descriptor
is now the String descriptor at the top of the list (the 3,29 stands
for row 3, column 29). The Field Counts and OIA descriptor is now
second on the list.String descriptor(3, 29)
Fields Counts and OIA
<new string descriptor>
<new cursor descriptor>
<new attribute descriptor>
<new condition descriptor>
<new variable update>
For information on how the macro runtime handles multiple descriptors, as in Figure 2, see Evaluation of descriptors.