954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Randomize A Chosen

Hi,

I have a program that lets the user choose from four options. The user can choose more than one and can choose all of them if he/she wants to, but must choose at least one. Out of the choices chosen, the program picks a random one and executes it. I know that one could use the Rnd function, but I would like to know an easier way. If anyone knows how, please tell me.

Thanks.

nowitzk
Newbie Poster
14 posts since Jan 2008
Reputation Points: 11
Solved Threads: 1
 

set default if none option chosen.

Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 
set default if none option chosen.


What do you mean?

nowitzk
Newbie Poster
14 posts since Jan 2008
Reputation Points: 11
Solved Threads: 1
 

ups.. sorry i didn't read the post carefully.
what i mean before is if none option chosen set to default chose option. sorry friend

Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 

No problem, and thanks once again!

nowitzk
Newbie Poster
14 posts since Jan 2008
Reputation Points: 11
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You