Computer Science Canada randomizer help |
Author: | Azzy [ Sat Nov 01, 2003 10:14 pm ] |
Post subject: | randomizer help |
i need to make an 8 character word with letters and numbers.they are in different arrays and i need to get the program to pick them at random.how would i do that? the array with the letters is IDnum and the one with letters is IDalph. please help me. |
Author: | Tony [ Sat Nov 01, 2003 10:49 pm ] | ||
Post subject: | |||
like that? You just use Rand.Int to pic a random integer in range and pass it as your array's index. also - note our "post subjects must be descriptive" policy |
Author: | Azzy [ Sat Nov 01, 2003 10:52 pm ] |
Post subject: | |
k thanks.i'll try that.and i changed the name.sry bout that. |