Function Random() Foundation

Calculates random numbers as 16 bit integers.

Syntax
Random( [<lSignedInteger>] ;  // Default: .F.
      ) --> nRandomInteger
Return

Returns a 16 bit random number in the range of 0 to 65535. If <lSignedInteger> is set .T. the range is -32768 to +32767.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.