Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
|
|
@ -1,7 +0,0 @@
|
|||
y=123 /*define a REXX variable, value is 123 */
|
||||
push y /*pushes 123 onto the stack. */
|
||||
pull g /*pops last value stacked & removes it. */
|
||||
q=empty() /*invokes the EMPTY subroutine (below)*/
|
||||
exit /*stick a fork in it, we're done. */
|
||||
|
||||
empty: return queued() /*subroutine returns # of stacked items.*/
|
||||
|
|
@ -3,10 +3,10 @@
|
|||
* 11.08.2013 Walter Pachl
|
||||
**********************************************************************/
|
||||
stk.=0
|
||||
Call push 123
|
||||
Call push 123 /*pushes 123 onto the stack. */
|
||||
Say empty()
|
||||
say peek()
|
||||
say pull()
|
||||
say pull() /*pops last value stacked & removes it. */
|
||||
Say empty()
|
||||
say peek()
|
||||
say push(456)
|
||||
Loading…
Add table
Add a link
Reference in a new issue