Portability Function: Generates a random number between 0.0 and RAND_MAX.
Module: USE IFPORT
Syntax
result = RANF ( )
Results
The result type is REAL(4). The result value is a single-precision pseudo-random number between 0.0 and RAND_MAX as defined in the C library, normally 0x7FFF 215-1.
The initial seed is set by the following:
CALL SRAND(ISEED)
where ISEED is type INTEGER(4).
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB