
-----------------------------------
pwnapple
Tue Jan 24, 2006 9:00 am

lowercase letters
-----------------------------------
how do i make the input to all lowercase letters?
thx[/code]

-----------------------------------
Delos
Tue Jan 24, 2006 10:24 am


-----------------------------------
For this you'll need some chr()'ing and some ord()'ing.  
e.g.


put ord('1')   % --> 49
put chr(34)   % --> "


Next, you'll want to look at each letter at a time, do a bit of maths with the numbers, and output the desired sequence of letters.  Yes, I'm keeping this cryptic, because this is a simple problem that you should be able to solve on your own - now that you have the chr/ord.

-----------------------------------
do_pete
Tue Jan 24, 2006 11:11 am


-----------------------------------
Or you could use Str.Lower (string) if you have a version of Turing that has that

-----------------------------------
Andy
Tue Jan 24, 2006 12:07 pm


-----------------------------------
maybe its just me, but i dont think you should use any functions that you cant recreate yourself
