Previous: prsdel Up: ../plot79_p.html Next: prseco
SUBROUTINE PRSECC (CODE,ORD1,ORD2) C$ (Parse - Edit Character Code) C$ Define a character, or character pair, which can be used to C$ edit input lines, or request help or recognition. The C$ arguments are: C$ C$ CODE......Symbolic name of edit character to be defined; C$ one of ECABRT, ECCDEL, ECCOMM, ECEDEL, ECEOCM, C$ ECFILE, ECFULL, ECHELP, ECLAST, ECLDEL, ECNUMB, C$ ECPART, ECQUOT, ECRTYP, or ECWDEL. Illegal C$ values will simply be ignored by immediate return C$ without error flagging. C$ ORD1......ASCII ordinal (in 0..127) of single-character C$ code, or of first of a two-character pair. C$ ORD2......ASCII ordinal (in 0..127) of second character C$ of a two-character pair, or a number out of the C$ range 0..127 if this is a single-character code. C$ If either character of a pair is a letter, its C$ case is not significant; both case variants of it C$ will be recognized. Values for both ORD1 and C$ ORD2 out of the range 0..127 disable the edit C$ option. Attempts to use white space (NUL, TAB, C$ blank) for an edit option will be ignored. C$ C$ It is desirable from the user's point of view if the first C$ character of a pair is the same for all edit codes and is a C$ rarely-used special character, but it is not essential. C$ Normally, an installation will have a fixed set of edit C$ codes defined in PRSINI by calls to this routine. However, C$ user parsing programs can use the support routine PRSPEC to C$ parse subcommands allowing redefinition of any of the edit C$ codes. C$ (20-NOV-82)