>A psuedo random system (like I suggested) cannot generate >the same number twice, nor can it generate the same >number at all until all possible numbers have been read. >This gives an equal weighting to all numbers IN ANY >GIVEN TIME PERIOD which is never achieved with a true >random number. A truly random system could generate >any number at any time, it could generate the same number >X times in a row and then not again for millions of I took it that he was proposing a software PRNG that you called each time you wanted a random number, rather than a free running PRNG. This would do the same as your table approach, and may fit into less code space (if you include the space taken by the table), while executing nearly as fast. The only advantage with the table is that you could influence the order of values alot more easily, which may be more suitable for gaming purposes. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.