Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
How to generate random number in Free Pascal between 1 and 1,000,000? I have used a variable type as LongInt, Real, Integer, but there is always an RangeError. But random number between 1 and 33,333 is working correctly. Program Random; var a: ...; begin a:=random(1000000); end. |