Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: randomly generating A-Za-z

by dws (Chancellor)
on Oct 12, 2001 at 06:32 UTC ( #118401=note: print w/replies, xml ) Need Help??


in reply to randomly generating A-Za-z

65 + int rand 55
doesn't do what you seem to expect. "Z" and "a" are not contiguous in ASCII. There are six pesky characters in between.

Consult an ASCII chart for enlightentment.

Replies are listed 'Best First'.
Re: Re: randomly generating A-Za-z
by virtualsue (Vicar) on Oct 12, 2001 at 13:07 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118401]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2018-02-20 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (266 votes). Check out past polls.

    Notices?