It generates a random integer between either zero and that number, or zero and that number minus one. I believe it to be the former rather than the later. --Zack AKA MysticWolf