Biggest input value for Random() is $7FFFFFFF

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Biggest input value for Random() is $7FFFFFFF

Post by Psychophanta »

Please add that info to manual. :roll:
And also specify that it works with integers only. :wink:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

+1

at least should be mentioned, that the returned value is a LONG,
then the maximum and integer is immanent.
oh... and have a nice day.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

It is mentioned that if the type is not specified in the manual, then it's a long.
Post Reply