beginning of this routine, TOK contains the command being brought in. In that capacity, TOK is used to validate the command, in VALCMD, and verify the command, in CMDVRIF. 66 7.10.4 Block Description 7.10.4.1 - START of process The COMMAND routine sets the state variables for the next command to be parsed. 7.10.4.2 EXIT - Clean-up After The Command Set The EXIT is the common terminator for the parsing of a command set. EXIT insures that all of the commands are terminated in the same fashion. 7.10.4.3 ARGINIT - ARGument INITialization This block will initialize the argument specific variables at the beginning of the next call to COMARG and as introduction into that section. 7.10.4.4 COMGET - COMmand GET The parsed command is in the TOKen symbol at this point. VALCMD is called to validate the command parsed as TOK. Upon return from that operation, the delimiter is examined for the command we have validated. A indicates that a comment follows the command immediately. Technically, this is illegal. Most MUMPS interpreters will generate an error on a semi-colon following immediately after the command without the terminators for the command or argument fields (spaces). Space is the second delimiter that may be expected after a command. It is the most common delimiter and separates the command from the argument and the argument field from the next command. The third delimiter is the colon. It introduces a postconditional expression. The postconditional will eventually be terminated by a space that will end the command field.
beginning of this routine, TOK contains the command being brought in. In that capacity, TOK is used to validate the command, in VALCMD, and verify the command, in CMDVRIF. 66 7.10.4 Block Description 7.10.4.1 - START of process The COMMAND routine sets the state variables for the next command to be parsed. 7.10.4.2 EXIT - Clean-up After The Command Set The EXIT is the common terminator for the parsing of a command set. EXIT insures that all of the commands are terminated in the same fashion. 7.10.4.3 ARGINIT - ARGument INITialization This block will initialize the argument specific variables at the beginning of the next call to COMARG and as introduction into that section. 7.10.4.4 COMGET - COMmand GET The parsed command is in the TOKen symbol at this point. VALCMD is called to validate the command parsed as TOK. Upon return from that operation, the delimiter is examined for the command we have validated. A indicates that a comment follows the command immediately. Technically, this is illegal. Most MUMPS interpreters will generate an error on a semi-colon following immediately after the command without the terminators for the command or argument fields (spaces). Space is the second delimiter that may be expected after a command. It is the most common delimiter and separates the command from the argument and the argument field from the next command. The third delimiter is the colon. It introduces a postconditional expression. The postconditional will eventually be terminated by a space that will end the command field.