Jump to content

Recommended Posts

Posted (edited)

How to use random with chr?

I want use random characters

I found Asc("A"), Asc("Z"), but it returns the number,how i can make ranom with text symbols a..z

for chr it returns 0

Edited by au3scr
Posted (edited)
Posted

@au3scr - Haven't you been asking questions long enough to answer this yourself?

$rnd = ""

For $X = 0 to 8

$rnd &= Chr(Random(65,90,1))

Next

msgbox(0,"",$rnd)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...