For A to Z

Posted by Fletchling on Thu 08 Mar 2007 09:34 AM — 3 posts, 14,547 views.

Australia #0
I'd like to be able to cycle a loop through a to z. 1 to nn is easy, but how can I do a to z?
USA #1
What language? In Lua you could do:


for i = string.byte("a"), string.byte("z") do
  local letter = string.char(i)
  print(letter)
end
Australia #2
Thanks David. Yes lua.
I'll use that in my loops, thanks again.