 |
 |
|
|
|
|
|
Home
|
Help Central
|
General FAQ
|
Help Contents
|
Show & Tell
|
|
|
"I never cease to be impressed by the phenomenal customer service I have received from your company."Linda Roberts - Sydney
|
"You guys are fantastic—great customer service and great software—a real pleasure to work with." Kent Mathers - Colorado
|
"Same day support has saved us more than once. It gives us a warm fuzzy feeling." Michelle Mathers - Colorado
|
|
|
|
|
Description
Obtains a random whole number between 1 and a specified upper limit.
Syntax
| Argument | Description |
| |
| n | The upper limit of the range of random numbers you want returned. The lower limit is always 1. The upper limit cannot exceed 32,767 |
Return value
A numeric data type, the data type of n. Returns a random whole number between 1 and n.
Usage
The sequence of numbers generated by repeated calls to the Rand function is a computer-generated pseudorandom sequence. You can control whether the sequence is different each time your application runs by calling the PowerScript Randomize function to initialize the random number generator.
|
|