Visual Basic  Glossary

 
Randomize

This is the statement that randomize a process. It is usually used with the Rnd function.

Example:

             Randomize timer

             x=Int(10*Rnd)

 

Rnd The Rnd function returns a random number between 0 and 1.
Right The Right function extracts the right portion of a phrase. The format is Right("Phrase",n) , where n is the starting position from the right of the phrase where the portion of the phrase is to be extracted.
   
   

 

  [Back to VB Glossary]