The RAND() function returns a random number between 0 and 1. You can multiply the number by whatever you want to get a range of numbers. For instance, ?RAND()*100 will return a number from 0 to 100. You can use this to generate test data. It can also be handy when you write games.
Pass RAND() a negative number the first time you call it and it will use the system clock as a "seed." this will ensure that you don't get the same sequence of numbers each time you run your program.
>Is there random function in VPF? What it is for and returns?
>
>Thanks