I'm writing a game and I need a routine which returns random numbers. I tried out some but they didn't work right - the numbers exceeded the given maximum. Maybe someone could post a good random routine. Girts.