You can do it in BASIC.
What? But it's an improbable figure. A variable can't equal RANDOM anything, RANDOM is just a command to assign a varying value. Is it one of those commands that don't do or mean what the name makes them out to? Does it mean "IF x equals greater than 0 but less than 6" or something?
EDIT:
Hang on, will x's value be random
each time it's referenced in BASIC after the "x = RANDOM y" command?