Difference between revisions of "RAND()"

From Recital Documentation Wiki
Jump to: navigation, search
(No difference)

Revision as of 17:07, 20 March 2009

RAND()

Class

Numeric Data


Purpose

Function to return a random number


Syntax

RAND(<expN>)


See Also

TMPNAM(), SYS(), GETPID()


Description

The RAND() function returns a random number in the range 1 to 2147483647. The <expN> is included for FoxPro compatibility.


Example

? rand()
     31466


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer