>is there an efficient routine out there that will give out a random number >between 2 inputed values? you can use userlib::random it returns a value between 0 and a given value, so you can build your own function from this one (your function would give out a number between 2 values) Xavier VASSOR