A to Z

1. Senior Member
Join Date
Dec 1969
Posts
626

## A to Z

is there a way to say<BR>for i = a to z<BR><BR>instead of writing a,b,c,d etc..?

2. God
Senior Member
Join Date
Dec 1969
Posts
18,177

## RE: A to Z

For i = Asc("A") To Asc("Z")

3. God
Senior Member
Join Date
Dec 1969
Posts
18,177

## RE: A to Z

Dim l<BR>For i = Asc("A") To Asc("Z")<BR> l = Chr(i)<BR>Next

4. Senior Member
Join Date
Dec 1969
Posts
16,931

## RE: A to Z

&#060;%<BR>Dim Alphabet: Alphabet = Split("a b c d e f g h i j k l m n o p q r s t u v w x y z", " ")<BR>Dim intCounter<BR>For intCounter = 0 To UBound(Alphabet)<BR> Response.Write Alphabet(intCounter)<BR>Next<BR>%&#062;<BR><BR>Cra ig.

5. Senior Member
Join Date
Dec 1969
Posts
16,931

## Ignore me.

Stupid firewall went down, then I was beaten by a better answer anyway...<BR><BR>:-)<BR><BR>Craig.

6. Senior Member
Join Date
Dec 1969
Posts
626

## Looks like a winner...

That works quite well... very good. Almost pointless to do time wise, but makes it all dynamic huh. :-)

7. Senior Member
Join Date
Dec 1969
Posts
16,931

## Hmmm

Doug&#039;s example is better - less code, less memory needed...<BR><BR>That said, mine you could add extra characters to easier...<BR><BR>Ahh hell, I&#039;m going in two minutes, so I don&#039;t care!<BR><BR>Craig.

8. God
Senior Member
Join Date
Dec 1969
Posts
18,177

## God=Doug=Good.

ReaperMan=Craig=Works but not as well.

9. Senior Member
Join Date
Dec 1969
Posts
16,931

## RE: God=Doug=Good.

LOL<BR><BR>I&#039;m off, so I&#039;m not arguing. But you&#039;re wrong. :)<BR><BR>Craig.

10. God
Senior Member
Join Date
Dec 1969
Posts
18,177