|
-
Jan 17th, 2000, 06:32 PM
#3
Junior Member
It's just like Chris writes. Randomize uses the system time to get a "random" number. You could however write the code like this to make it more clear:
Randomize Timer
MyFile = int((6 * RND) + 1)
BTW, if you type MyFile = int((6 + RND) + 1) then MyFile will always be 7 (maybe this was a typing error?)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|