Figure 15-4
This illustration describes a bind descriptor after the DESCRIBE. The "n" variable is set to "3", as the maximum number of select-list items or placeholders to be DESCRIBEd. The "t" variable is set to "0" by DESCRIBE, as the pointers in the "v" variable point to addresses of zero length. The "f" variable contains the number of select-list items or placeholders found by DESCRIBE. The first placeholder in the "s" variable now contains the name "B-O-N-U-S", as it was entered by the user. Therefore, the "f" variable contains the number "1". m sub-zero through m sub-one of the "m" variable are set to "5". The "c" variable contains pointers to arrays of current lengths of select-list or placeholder names. In this case, it is set by DESCRIBE to "5", "0", "0", as the first pointer of the "s" variable points to a name that is five characters long, and the other two pointers point to names that have no characters as yet. The "x" variable contains three pointers that point to addresses for indicator names of length of four characters that have no characters, as yet. The "y" variable contains the maximum length of the names pointed to by the "x" variable, which is four. The "z" variable is set by DESCRIBE and contains the number of characters in each indicator-variable name, which is "0", as the names in the "x" variable contain no characters, as yet.