You could always work round the problem by sticking a Mod 9 On the end of it.
Print Rand(0,8) Mod 9
I accept not an ideal solution, but you won't get any out of range errors and the results will be predictable.
Print Rand(0,8) Mod 9
I accept not an ideal solution, but you won't get any out of range errors and the results will be predictable.