Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
20
bitchx-docs/5_Programming/push
Normal file
20
bitchx-docs/5_Programming/push
Normal file
@@ -0,0 +1,20 @@
|
||||
Synopsis:
|
||||
push <variable name> <word>
|
||||
pop <variable name>
|
||||
|
||||
Description:
|
||||
PUSH appends the given word (or words) to the given variable, padded
|
||||
with a single space. The variable name itself may not contain a
|
||||
leading '$'; the command uses the variable itself, not the expanded
|
||||
contents. If the variable does not exist, it is created containing
|
||||
the given word(s) (just as if ASSIGN were used).
|
||||
|
||||
Aliases:
|
||||
POP is the exact opposite of PUSH, in that it pops off the last word
|
||||
in the variable. If there is only one word in the variable, the
|
||||
variable is deleted. Both PUSH and POP are functionally equivalent
|
||||
to the $push() and $pop() functions, respectively.
|
||||
|
||||
See Also:
|
||||
assign(5); shift(5); unshift(5)
|
||||
|
||||
Reference in New Issue
Block a user