Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== XEQ ==== ---- <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Execute a program </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^^^ | **O<sub>1</sub>** | **→** | //see list under __Description__// ||| | //Level 1// | //→// | //Level n// | //...// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} |**Type**| [[manual:chapter5:basics#operators|Operator]] || |**Parallel list processing**| [[manual:chapter5:listproc#group-2commands-that-must-use-dolist-to-parallel-process|Group 2]] || |**Affected by flags**| None || </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- The ''XEQ'' command executes the object on the top level of the stack. The effect of the execution and the resulting output depends on the type of object being executed, as summarized by the following list. * **Program**: ''XEQ'' //enters// each object in the program: - an [[manual:chapter6:dirs:cmd_unquoteid|unquoted]] __Name__ is ''[[manual:chapter6:operators:cmd_ovr_eval|EVAL]]''uated; - a __Keyword__ is ''XEQ''ted; - __other objects__ are put on the stack. * **Other objects**: ''XEQ'' puts the object on the stack. </callout> <callout type="danger" icon="true" title="Compatibility"> ---- This command is new in newRPL and does not exist in userRPL. </callout> <callout type="info" icon="true" title="Usage"> ---- The command <code> 1: « '16' √ » …………………………………………………………………………………… XEQ </code> will perform the following steps: - ''%%'16'%%'' (a //symbolic expression//) is put on the stack; - ''[[manual:chapter6:transcendentals:cmd_sqrt|√]]'' (a //keyword//) is ''XEQ''ted. Resulting in <code> 1: '√16' …………………………………………………………………………………… </code> </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:operators&nofooter&noeditbtn&inline}} </callout> manual/chapter6/operators/cmd_ovr_xeq.txt Last modified: 2019/11/17 08:35by jojo1973