ID:157272
 
I was wondering if rand can be used with the alphabet A - Z.
If not, how else would you suggest doing it?
You could make a list() of every letter and then pick() a letter out of it.
In response to DisturbedSixx
Alternatively, there is always ascii2text.
Slic3y wrote:
I was wondering if rand can be used with the alphabet A - Z.
If not, how else would you suggest doing it?

Don't know if it can or not, but if it can't, then just use numbers 1-26, and then convert the number into the alphabet...
In response to Wolfnova
Applying Schnitzelnagler's rule
proc/RandAlpha()
return ascii2text(rand(65,90))


You can save yourself from creating a list helping to saving your resources as much as possible! (Lummox JR advice)
In response to Schnitzelnagler
Thanks guys, Ive got one of the methods working now.