Listen to MasterChief, he knows what he's talking about. xD
Although, a better method would be to use Repeat instead of While, as it is specifically designed for this task, and will save more bytes than converting While. Also, you don't need to take up space by using a variable. Ans works very well, unless you're using a delay with rand, then by all means use it.
Repeat Ans=105
getKey
Text (25,20,".
Text(25,25,".
Text(25,30,".
ClrDraw
End
… or…
Repeat K=105
getKey→K
Text (25,20,".
rand(5
Text(25,25,".
rand(5
Text(25,30,".
rand(5
ClrDraw
End
I see a handful of optimizations you can do with this to make it run better, like using a loop for 20,25, and 30, as well as using sub( and clearing with spaces instead of ClrDraw (to remove the unappealing flicker with the command), but only if you're up to it. I don't want to confuse you and bring up stuff up over your head.