Differences

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

Link to this comparison view

manual:chapter6:stack:cmd_depth [2018/03/20 07:45] (current)
claudio created
Line 1: Line 1:
 +==== DEPTH ====
 +----
 +<callout color="​black"​ icon="​fa fa-indent"​ title="​Stack Diagram">​
 +^ Input Stack ^  ^ Output Stack ^
 +|  | → | **I** |
 +{{page>​manual:​chapter6:​aux:​legend&​nofooter&​noeditbtn&​inline}}
  
 +| **Can be used in symbolics** | No |
 +| **Affected by flags** | No |
 +
 +----
 +===Description===
 +Returns the number of items present on the stack before executing the command.
 +----
 +
 +</​callout>​
 +<callout type="​success"​ icon="​true">​
 +===Compatibility===
 +This command is fully compatible with userRPL.
 +</​callout>​
 +<callout type="​info"​ icon="​true"​ title="​Notes and Examples">​
 +The following program:
 +
 +  « 123 DEPTH »
 +  ​
 +Will result in a stack containing ''​123''​ and ''​1''​ when executed on an empty stack.  ​
 +</​callout>​
 +<callout color="​black">​
 +===Related commands===
 +{{page>​manual:​chapter6:​stack&​nofooter&​noeditbtn&​inline}}
 +</​callout>​
  • manual/chapter6/stack/cmd_depth.txt
  • Last modified: 2018/03/20 07:45
  • by claudio