Site Tools


pop_command
no way to compare when less than two revisions

Differences

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


pop_command [2006/08/29 20:18] (current) – created - external edit 127.0.0.1
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 by 127.0.0.1