manual:chapter6:stack:cmd_ift

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
manual:chapter6:stack:cmd_ift [2019/11/03 07:06]
jojo1973 Fixed synopsis
manual:chapter6:stack:cmd_ift [2019/11/12 14:12]
jojo1973
Line 9: Line 9:
 ---- ----
 ^  __Input Stack__  ^^  ^  __Output Stack__  ^ ^  __Input Stack__  ^^  ^  __Output Stack__  ^
-|  **1**  |  **O**  |  **→**  |  **O**  |+|  **1**  |  **O**  |  **→**  |  **[O]<sub>XEQ</sub>**  |
 |  **0**  |  **O**  |  **→**  |  | |  **0**  |  **O**  |  **→**  |  |
 |  //Level 2//  |  //Level 1//  |  //→//  |  //Level 1//  |  |  //Level 2//  |  //Level 1//  |  //→//  |  //Level 1//  | 
Line 22: Line 22:
 <callout color="orangered" icon="fa fa-comment" title="Description"> <callout color="orangered" icon="fa fa-comment" title="Description">
 ---- ----
-The ''IFT'' command tests the object on level 2 of the stack: if it is [[manual:chapter6:operators:cmd_ovr_istrue|true]] then it ''[[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]''%%'%%te the object on level 1, otherwise drops both.+The ''IFT'' command tests the object on level 2 of the stack: if the test returns ''1'' then it ''[[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]''%%'%%tes the object on level 1, otherwise both the object and the result of the test are dropped.
 </callout> </callout>
  
  • manual/chapter6/stack/cmd_ift.txt
  • Last modified: 2019/11/17 14:15
  • by jojo1973