Site Tools


reverse
no way to compare when less than two revisions

Differences

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


reverse [2006/08/29 16:08] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +# $EPIC: reverse.txt,v 1.2 2006/08/19 06:07:20 sthalik Exp $
 +======Synopsis:======
 +$__reverse__(<text>)
 +
 +======Technical:======
 +   * This function returns a copy of <text> with all of the characters in reverse order, to wit:
 +   * Let the characters in <text> 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 <text> in reverse.
 +
 +======Examples:======
 +$revw(welcome to our channel)            returns "lennahc ruo ot emoclew")
 +
 +======History:======
 +This function first appeared in "+6" (post-ircII, pre-EPIC)
  
reverse.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1