next up previous contents
Next: Decode String into Up: String Scanning and Previous: Decode String into

Decode String into Text List of Values

This Subprogram will attempt to decode the specified text string into a List of Text Values.

Short Name Calling Sequence

STATUS = UIDCTL(STRING,VALUES,VASIZE,NVALUE)

Long Name Calling Sequence

STATUS = UI_DECODE_TEXT_LIST(...)

Input Arguments

STRING (Character) Text String VASIZE (Integer) Maximum No. of Values

Output Arguments

VALUES (Char Array) Decoded Values Array NVALUE (Integer) Decoded No. of returned Values

Function Value

UI__SUCCESS ) Success UISUCC )

UI__TRUNCATED ) List truncated UITRUN ) Note:

  1. Unlike the other Decoding Subprograms UI_DECODE_TEXT_LIST does not accept any Defaults. If the string is null (all spaces) then NVALUE will be set to zero, indicating that no Elements are present.
  2. All Errors are informational only, no Error Message will be issued.
  3. Any leading or trailing spaces or tabs within STRING will be ignored.
  4. See UI_GET_TEXT_LIST for further notes on Arguments.


Liz Buckle
Fri Jan 13 17:28:23 CST 1995