Random(1,10) without repeating the previous number

i need to create a random number without repeating the same number twice in a row
so far i have Random(1,10)

but can end up with this 1, 3, 4, 4, i can't have the previous number repeating

Any ideas?

(site currently under construction)

Comments

Sign In or Register to comment.