Previous: prspec Up: ../plot79_p.html Next: prsprm


PRSPLS

       INTEGER FUNCTION  PRSPLS (STATUS, STDHMS, HLPSTR, LENHLP, DEFSTR,
      X     LENDEF)
 C$    (Parse - Parenthesized List)
 C$    Parse a  parenthesized list,  leaving  it in  COMMON.   The
 C$    string may  be  delimited by  matching  parentheses,  angle
 C$    brackets, square brackets,  or braces,  provided that  they
 C$    are balanced.  Only parentheses of the opening type need be
 C$    balanced.  The surrounding parentheses are preserved in the
 C$    string stored in COMMON.  The arguments are:
 C$
 C$    STATUS.........Parsing status  value (and  function  value)
 C$                   returned;  one  of   EOF,  NOPABT,   NOPHLP,
 C$                   NOPIFL, NOPNPL,  NOPUNK,  OKAY,  OVRFLO,  or
 C$                   REPARS.  The  help return,  NOPHLP, is  only
 C$                   given  if   an  alternative   parse  is   in
 C$                   progress.   Otherwise,  this  routine  loops
 C$                   until the  user  completes the  input  field
 C$                   with   something   other   than   the   help
 C$                   character.
 C$    STDHMS......... .TRUE. - issue standard help message.
 C$                   .FALSE. - suppress standard help message.
 C$    HLPSTR(*)......Packed Hollerith help string.
 C$    LENHLP.........Length of HLPSTR(*).
 C$    DEFSTR(*)......Packed Hollerith default value string.
 C$    LENDEF.........Length of DEFSTR(*).
 C$    (25-APR-84)