Parsing Instructions Summary
About this task
Remember: All parsing instructions assign parts of the source string into the variables named in the template. The following table summarizes where the source string comes from.
| Instruction | Where the source string comes from |
|---|---|
| ARG
PARSE ARG |
Arguments you list when you call the program or arguments in the call to a subroutine or function. |
| PARSE EXTERNAL | Next line from terminal input buffer |
| PARSE NUMERIC | Numeric control information (from NUMERIC instruction). |
| PULL
PARSE PULL |
The string at the head of the external data queue. (If queue empty, uses default input, typically the terminal.) |
| PARSE SOURCE | System-supplied string giving information about the executing program. |
| PARSE VALUE | Expression between the keyword VALUE and the keyword WITH in the instruction. |
| PARSE VAR name | Parses the value of name. |
| PARSE VERSION | System-supplied string specifying the language, language level, and (three-word) date. |