Difference between revisions of "Rand"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function Rand: Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== This function generates a random ...")
 
(No difference)

Latest revision as of 23:02, 27 June 2011

Definition

function Rand: Extended;

Availability

SCAR Divi 3.00 > Current

Description

This function generates a random extended floating point number between 0 and 1.

Example

var
  i: Integer;
begin
  for i := 1 to 5 do
    WriteLn(Rand);
end.

See Also