User Tools

Site Tools


pop_command

Differences

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 $
 +======Synopsis:​======
 +pop //<​variable name>//
 +
 +======Technical:​======
 +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]]().
 +
 +======Returns:​======
 +Removes the last word of the value of //<​variable name>//
 +
 +======Examples:​======
 +<​file>​
 + assign booya one two three four
 + pop booya
 + echo $booya
 +<​file>​
 +This outputs "one two three"
 +
 +======History:​======
 +This command first appeared in "​+7"​ (post-ircII,​ pre-EPIC)
  
pop_command.txt ยท Last modified: 2006/08/29 20:18 (external edit)