Script Execution Example Page 1
The script 'TE101' ASSET has two components - a constant (TE101) and a command (ASSET).
These steps form the 'code' of your query.
These steps are processed one-by-one, from first to last. Most items are added directly to the stack, except for commands, which are handled differently.
In our example, we have the following…
| Stack | Code |
|---|---|
| Empty | TE101 [Constant] |
| ASSET [Command] |
Now, we take the topmost item from the code list and add it to the stack.
| Stack | Code |
|---|---|
| TE101 [Constant] | ASSET [Command] |
Because the code item was not a command, it was simply copied onto the stack.
Next, we work with a command in page 2.