GetRandomSeed() and SetRandomSeed()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

GetRandomSeed() and SetRandomSeed()

Post by Rescator »

Add: GetRandomSeed() ;retrieve current seed
Change: RandomSeed() ;to SetRandomSeed() ;to match other Get/Set functions.
Add: ResetRandomSeed() ;set's the seed to the seed the PB program started with.
Last edited by Rescator on Sat Mar 11, 2006 11:36 am, edited 2 times in total.
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: GetRandomSeed() and SetRandomSeed()

Post by DarkDragon »

Rescator wrote:Add: GetRandomSeed()
Change: RandomSeed() to SetRandomSeed()
Add: ResetRandomSeed()
bye,
Daniel
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

Good idea, updated first post!
Post Reply