Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21103

Another Question About INI Files

$
0
0
Here is what I have in a prizes.ini file:

[car]
Nissan Versa = 11300
Honda Civic = 16995
Ford Mustang = 27500
[trip]
Trip to Acapulco = 3624
Trip to the Bahamas = 5371
Trip to Hawaii = 5180
Trip to Hong Kong = 8603
African Safari = 12884
[cruise]
7-Day Caribbean Cruise = 10177
10-Day Mediterrenean Cruise = 13285
[ring]
Diamond and Gold Ring = 4800
Diamond Ring = 4000

If the program was to randomly select any of the four prize categories (as shown in the block parentheses), and a prize was to be randomly selected among all of the prizes listed within the section (based on the prize category randomly selected), what would I do?

Viewing all articles
Browse latest Browse all 21103

Trending Articles