I think that the keycodes or ANSI values have an equivalent value for upper
and lower, just a fixed number above, much like ASCII. I used to write small
repeat loops in BASIC that took the ASCII number of a given letter and added
the value difference between upper and lower to convert it.

e.g. (hypothetical values only)

a = 50
b = 51
c = 52

----

A = 100
B = 101
C = 102

DIFFERENCE = 50

so in a handler, simply repeat the process. Take each letter in turn, (put
the string in an array or use the char keyword) add the difference value,
convert back to a letter and return it.




[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to