Try this handler. It's untested...I might've missed an "end if"
someplace...

on UCase vChar
-- Convert the character to ascii
vAscii = charToNum(vChar)
-- The lower case alphabet lies between
-- ASCII values of 97 and 122
if vAscii >= 97 AND vAscii <= 122 then
-- The value of the uppercase alphabet
-- is 32 characters less than its corresponding
-- lowercase character
vAscii = vAscii - 32
end if

return numToChar(vAscii)
end mUCase

Regards,
Pranav
-----------------------------------------------------------
Samuel Colt - the inventor of the point and click interface.




                                                                                       
                                           
                    Milo Mineur                                                        
                                           
                    <info@milomine        To:     <[EMAIL PROTECTED]>               
                                           
                    ur.com>               cc:                                          
                                           
                    Sent by:              Subject:     <lingo-l> UPPERCASE TEXT ONLY?  
                                           
                    owner-lingo@pe                                                     
                                           
                    nworks.com                                                         
                                           
                                                                                       
                                           
                                                                                       
                                           
                    04/07/01 01:09                                                     
                                           
                    PM                                                                 
                                           
                    Please respond                                                     
                                           
                    to lingo-l                                                         
                                           
                                                                                       
                                           
                                                                                       
                                           








Hi all,


Does anyone know the command to force a textmember to UPPERCASE?

I have an inputscreen in my program (dir 8) that allows only heximal input
and 'abcdef' in lowercase is not clear enough to read.

I hope somebody knows the solution for me.

Thanx!

Milo Mineur


[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!]






[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