maxlen
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | maxlen [2006/07/11 04:57] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: maxlen.txt, | ||
+ | ======Synopsis: | ||
+ | $__maxlen__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * If the <word list> argument is omitted the value 0 is returned. | ||
+ | * The return value is the length of the longest word in <word list>. | ||
+ | |||
+ | ======Practical: | ||
+ | If you want to "line up" a list of words into columns, you need to know | ||
+ | how wide your columns should be, and that is determined by the " | ||
+ | word. This function will give you that value, so you can compute how | ||
+ | wide your columns should be and how many you can fit on the screen. | ||
+ | |||
+ | ======Returns: | ||
+ | The length in characters of the longest word in <word list> | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $maxlen() | ||
+ | $maxlen(one) | ||
+ | $maxlen(one two three four) | ||
+ | </ | ||
+ | |||
maxlen.txt · Last modified: 2006/07/11 04:57 by 127.0.0.1