Contents | Index | < Browse | Browse >
PARSEVAR VariableName
This command will take a variable and split it up into arguments
(words or quoted strings), returning them as internal variables.
The internal variables are :
$$PARSE.0, $$PARSE.1, $$PARSE.2 etc - up to PARSE.29
which will hold the various arguments (30 maximum)
or words resulting from the splitting of the variable
The 1st word will be in $$PARSE.0
$$PARSE.TOTAL will contain the number of arguments that have been
parsed.
Note - the ; character ends the line being parsed (like in G4C)
The values of the PARSE internal variables will remain unchanged
until another ParseVar command is issued.
Example : Run Gui Source