User Tools

Site Tools



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

Link to this comparison view

pop_command [2006/08/29 20:18] (current)
Line 1: Line 1:
 +# $EPIC: pop_command.txt,​v 1.4 2006/08/29 18:22:56 sthalik Exp $
 +pop //<​variable name>//
 +The __pop__ command removes the final [[what_is_a_word|word]] from the 
 +value of //<​variable name>//​. ​ DOUBLE QUOTED WORDS ARE NOT SUPPORTED (yet).
 +If the value of //<​variable name>// contains only one word, then the 
 +variable is unset.
 +This is an internal alias for the $[[pop function|pop]]().
 +Removes the last word of the value of //<​variable name>//
 + assign booya one two three four
 + pop booya
 + echo $booya
 +This outputs "one two three"
 +This command first appeared in "​+7"​ (post-ircII,​ pre-EPIC)
pop_command.txt ยท Last modified: 2006/08/29 20:18 (external edit)