HP 3000 Manuals

RAND1 (or RAND1') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

RAND1 (or RAND1') 

RAND1 generates a random number, that can be used as the starting point
for the RAND procedure.

Declaration 

        FUNCTION RAND1: INTEGER; EXTERNAL;

Attributes 

Parameter:                None.

Result:                   A 32-bit integer quantity.

HP FORTRAN 77/XL:         Callable as a system intrinsic:I=RAND1( )

Error:                    None.

Comments 

This random value is derived from the 31-bit logical quantity changed
every millisecond by the MPE XL system timer.



MPE/iX 5.0 Documentation