-> does any one know how to get qbasic to generate random letters , like
-> you would use to make a program which would generate random pass
-> words ,(txt) or .bas source, i can get it to generate random numbers
-> just not letters ???
Well, there are 26 letters in the alphabet, so if you can make your
program choose a random integer between 1 and 26, inclusive, surely you
can then make it pick out the corresponding letter.
It can be done in a single line of BASIC code. But I won't spoil your
fun by spelling it out...
dow
--- PCBoard (R) v15.3 (OS/2) 5
---------------
* Origin: FidoNet: CAP/CANADA Support BBS : 416 287-0234 (1:250/710)
|