Results 1 to 3 of 3

Thread: RANDOM

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    208

    Angry

    I random like that for the moment :
    Int((UPPERBOUND - LOWERBOUND + 1) * Rnd + LOWERBOUND)

    but, the sequance is ALWAY the same,
    I open my program, random and the number will be the same
    if I reopen my programa second time and I random ..

    How can I do a REAL random ??

  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    Although nothing is truly random, try placing a Randomize statement before you call the rnd function.
    Iain, thats with an i by the way!

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    208
    thank's a lot..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width