Random Number Question

Hello all…

I have this simple bit of code which is used regularly in my movie…

minNum = 1;
maxNum = 200;
number = Math.ceil(Math.random() * (maxNum - minNum + 1)) + (minNum - 1);

Is it possible to add something to this code to stop the same number being called more than once?

David