Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manual:chapter6:operators:cmd_ovr_eval [2019/10/28 01:01] jojo1973 |
manual:chapter6:operators:cmd_ovr_eval [2019/10/28 17:12] jojo1973 Rephrased description |
||
---|---|---|---|
Line 16: | Line 16: | ||
|**Type**| [[manual: | |**Type**| [[manual: | ||
|**Parallel list processing**| //Yes, but specific group is determined by the object being evaluated// | |**Parallel list processing**| //Yes, but specific group is determined by the object being evaluated// | ||
- | |**Affected by flags**| [[manual: | + | |**Affected by flags**| |
- | |:::| [[manual: | + | |:::| [[manual: |
- | |:::| [[manual: | + | |:::| [[manual: |
- | |:::| [[manual: | + | |:::| [[manual: |
- | |:::| [[manual: | + | |:::| [[manual: |
- | |:::| [[manual: | + | |:::| [[manual: |
- | |:::| [[manual: | + | |:::| [[manual: |
- | |:::| [[manual: | + | |:::| [[manual: |
- | |:::| [[manual: | + | |:::| [[manual: |
+ | |:::| [[manual: | ||
</ | </ | ||
Line 33: | Line 34: | ||
The effect of the evaluation and the resulting output depends on the type of object being evaluated, as summarized by the following list. | The effect of the evaluation and the resulting output depends on the type of object being evaluated, as summarized by the following list. | ||
- | * **Local Name**: //Recalls// the content of the variable. | + | * **Local Name**: |
- | * **Global Name**: //Calls// the content of a variable: | + | * **Global Name**: |
- a __Name__ is evaluated; | - a __Name__ is evaluated; | ||
- a __Program__ is evaluated; | - a __Program__ is evaluated; | ||
- a __Directory__ becomes the current directory; | - a __Directory__ becomes the current directory; | ||
- __other objects__ which are not lists are put on the stack. | - __other objects__ which are not lists are put on the stack. | ||
- | * **Program**: | + | * **Program**: |
- an [[manual: | - an [[manual: | ||
- a __Keyword__ is '' | - a __Keyword__ is '' | ||
- __other objects__ which are not lists are put on the stack. | - __other objects__ which are not lists are put on the stack. | ||
- | * **Symbolic expression**: | + | * **Symbolic expression**: |
- a __Name__ is evaluated; | - a __Name__ is evaluated; | ||
- a __Keyword__ is '' | - a __Keyword__ is '' | ||
- __other objects__ which are not lists are put on the stack. | - __other objects__ which are not lists are put on the stack. | ||
- | * **Other objects**: if they are not lists they are put on the stack. | + | * **Other objects**: if they are not lists '' |
- | * **List**: //Enters// each object in the list: | + | * **List**: |
- | - __any object__ is '' | + | - __any object__ is evaluated |
| | ||
As a final step, '' | As a final step, '' | ||
Line 87: | Line 88: | ||
then the command | then the command | ||
< | < | ||
- | 1: 2 | + | 2: 2 |
+ | 1: ' | ||
…………………………………………………………………………………… | …………………………………………………………………………………… | ||
- | CIRCUM | + | EVAL |
</ | </ | ||
will perform the following steps: | will perform the following steps: | ||
- | - '' | + | - '' |
- | - '' | + | - '' |
- | - '' | + | - '' |
- '' | - '' | ||
- | - '' | + | - '' |
- | resulting | + | Resulting |
< | < | ||
1: 12.56 | 1: 12.56 | ||
+ | …………………………………………………………………………………… | ||
+ | |||
+ | </ | ||
+ | ---- | ||
+ | The command | ||
+ | < | ||
+ | 1: { ' | ||
+ | …………………………………………………………………………………… | ||
+ | EVAL | ||
+ | </ | ||
+ | will perform the following steps: | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
+ | Resulting in | ||
+ | < | ||
+ | 1: { 4. } | ||
…………………………………………………………………………………… | …………………………………………………………………………………… | ||