Changing letters help ASAP!
Posted: Sun Feb 01, 2004 6:36 pm
i need to make a program that when the user enters a it turns into b and so on. i know the code is chr(ord("a")+1) to change from a to b but what do i do for all the alphabets?
I have this so far:
var letter : string
loop
put "Enter the code:" ..
get letter
if letter = "a" then
put chr (ord ("a") + 1)
end if
end loop
Archived topic from Iceteks, old topic ID:1991, old post ID:16373
I have this so far:
var letter : string
loop
put "Enter the code:" ..
get letter
if letter = "a" then
put chr (ord ("a") + 1)
end if
end loop
Archived topic from Iceteks, old topic ID:1991, old post ID:16373