Site Tools


revw

Differences

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

Link to this comparison view

revw [2006/08/29 16:08] (current)
Line 1: Line 1:
 +# $EPIC: revw.txt,v 1.2 2006/08/19 06:07:20 sthalik Exp $
 +======Synopsis:​======
 +$__revw__(<​word list>)
 +
 +======Technical:​======
 +   * This function returns a copy of <word list> with all of the words in reverse order, to wit:
 +   * Let the words in <word list> be numbered from 0 to <L>:
 +
 +^     Index in <word list> ​  ​^ ​  Index in return value   ^
 +| 0                          |   <​L> ​                    |
 +| 1                          |   <​L-1> ​                  |
 +| 2                          |   <​L-2> ​                  |
 +| ...                        |   ​... ​                    |
 +| <​L-2> ​                     |   ​2 ​                      |
 +| <​L-1> ​                     |   ​1 ​                      |
 +| <​L> ​                       |   ​0 ​                      |
 +
 +======Practical:​======
 +This function should be pretty self-explanatory.
 +
 +======Returns:​======
 +A copy of <word list> with the words in reverse order.
 +
 +======Examples:​======
 +<​file>​
 +$revw(welcome to our channel) ​           returns "​channel our to welcome"​
 +</​file>​
 +
 +======History:​======
 +This function first appeared in "​+6"​ (post-ircII,​ pre-EPIC)
  
revw.txt ยท Last modified: 2006/08/29 16:08 (external edit)