home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 5_programming / pop < prev    next >
Encoding:
Text File  |  2002-10-28  |  765 b   |  21 lines

  1. Synopsis:
  2.    push <variable name> <word>
  3.    pop  <variable name>
  4.  
  5. Description:
  6.    PUSH appends the given word (or words) to the given variable, padded
  7.    with a single space.  The variable name itself may not contain a
  8.    leading '$'; the command uses the variable itself, not the expanded
  9.    contents.  If the variable does not exist, it is created containing
  10.    the given word(s) (just as if ASSIGN were used).
  11.  
  12. Aliases:
  13.    POP is the exact opposite of PUSH, in that it pops off the last word
  14.    in the variable.  If there is only one word in the variable, the
  15.    variable is deleted.  Both PUSH and POP are functionally equivalent
  16.    to the $push() and $pop() functions, respectively.
  17.  
  18. See Also:
  19.    assign(5); shift(5); unshift(5)
  20.  
  21.