RAND()

From Recital Documentation Wiki
Revision as of 17:07, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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