Janek Schleicher wrote at Tue, 09 Jul 2002 18:48:00 +0200: > rand($#chars) gives a random > number in the range of 0 .. $#chars-1
Sorry not completely correct, rand($#chars) gives a random number < $#chars, what is in chars[ rand($#chars) ] implicitly rounded down. However, the last element of the array will never be choosen. Cheerio, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]