CAS 6


randnum
- Relational

Summary

Generate a random numbers.

Examples

randnum 1 100
randnum 40 75
1 randnum 1 (1 plus numrecs)
1 randnum 1000 4000
(randnum 5 58) plus ((randpct 70) times .01 times randnum 1 100)

Syntax

(Unique) randnum LowerBound UpperBound

Left Arguments

Name Data Type Input Type Description Optional Default
Unique Boolean Constant Result should be unique Yes 0

Right Arguments

Name Data Type Input Type Description Optional Default
LowerBound Numeric Constant Non-negative and > 0 Yes
UpperBound Numeric Constant Non-negative, non-zero, and > number of records if unique flag is 1. No

Result

Type: Numeric

Positive Integer for each record



Build 6.0.624