Previous: prsnoi Up: ../plot79_p.html Next: prsnum
INTEGER FUNCTION PRSNUE (STATUS, STDHMS, HLPSTR, LENHLP, DEFSTR, X LENDEF, OPTION) C$ (Parse - Number or (Expression)) C$ Parse an integer number or parenthesized expression, C$ leaving it in COMMON in INTVAL(*). The arguments are: C$ C$ STATUS.........Parsing status value (and function value) C$ returned; one of EOF, NOPABT, NOPHLP, C$ NOPIFL, NOPNUL, NOPNUM, NOPRDX, NOPUNK, C$ OKAY, OVRFLO, or REPARS. The help return, C$ NOPHLP, is only given if an alternative C$ parse is in progress. Otherwise, this C$ routine loops until the user completes the C$ input field with something other than the C$ help 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$ OPTION.........Integer option code. Set to RADIX+n for C$ a number in radix n, where n is in the range C$ 2..16. If an unsigned number is required, C$ add UNSIGN to OPTION; plus and minus then C$ become break characters. C$ (01-JUN-88)