%RAND

<< Click to Display Table of Contents >>

Navigation:  Reference > Functions >

%RAND

This function selects a random number between 0 and x.

Forms of use:

DW wvar = %RAND(x),

MT table (part-id) = %RAND(x),

Example of RAND function:

dw $rperc=%rand(100),