Computer Science Canada

Making a rand letter?

Author:  Velocity [ Wed Nov 16, 2011 7:43 pm ]
Post subject:  Making a rand letter?

How do you do randint but instead of a number it generates a random letter a - z?
What is the special code to doing this?
Help please Smile

Author:  [Gandalf] [ Wed Nov 16, 2011 7:46 pm ]
Post subject:  RE:Making a rand letter?

code:
chr(Rand.Int(1, 255))

chr() returns the ASCII value of the integer passed to it.

Author:  Velocity [ Wed Nov 16, 2011 8:20 pm ]
Post subject:  RE:Making a rand letter?

ty gandalf... lol nice name

Author:  [Gandalf] [ Wed Nov 16, 2011 9:10 pm ]
Post subject:  RE:Making a rand letter?

No problem. You are pretty badass yourself, having joined on 11/11 and being user 111111. Wink

Author:  Velocity [ Wed Nov 16, 2011 9:37 pm ]
Post subject:  RE:Making a rand letter?

lol really? thats so cool !


: