Good day all!!
I'm a college student and we've been given the task of making any vb6 game as a project.
I've decided that i'd make a simple typing game where words would pop out of a label for a few seconds (limited by a timer) and then after a few seconds another word would pop out of the label and would repeat for, say, 32 times.
I already got the logic of my project, the problem is that i don't know what function to use in outputting a random word. I know that it's got something to do with select case, where the words that would appear on the label would be listed and that my program would have to randomly pick out a word from that list of words. I've come across the random string function although i have no idea how to use it.
Anyone know of a function i could use for this exact purpose?
I'm a college student and we've been given the task of making any vb6 game as a project.
I've decided that i'd make a simple typing game where words would pop out of a label for a few seconds (limited by a timer) and then after a few seconds another word would pop out of the label and would repeat for, say, 32 times.
I already got the logic of my project, the problem is that i don't know what function to use in outputting a random word. I know that it's got something to do with select case, where the words that would appear on the label would be listed and that my program would have to randomly pick out a word from that list of words. I've come across the random string function although i have no idea how to use it.
Anyone know of a function i could use for this exact purpose?