in my code (below) im looking to stop using long list of if statements to randomly select a phrase, how would i use an array to accomplish the same task?
link to code http://ideone.com/0l8xiI

nevermind, google once agian is my friend, thanx anyway.

What did you select?
Something like random.choice()?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.