Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Is the Randomize command reliable?  (Read 30 times)


  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
  • Generic Amiga User
Is the Randomize command reliable?
« on: September 15, 2021, 04:13:47 PM »

I need reliable pseudo random numbers and under the randomize command in the manual it says "the sequence of numbers generated by the RND function will be exactly the same each time your program is run." 

Does anyone know how to get this program to give the same result every time it is run?  or why it doesnt?

Code: [Select]
randomize 1000: print str$(rnd(100))
Any light you can shed on this would be helpful.     I'll make my own pseudo random function in the meantime.

Pages: [1]   Go Up

TinyPortal 1.6.7 © 2005-2020