home *** CD-ROM | disk | FTP | other *** search
- on makeuppercase
- global searchdata
- repeat with g = 1 to the number of chars in searchdata
- put charToNum(char g of searchdata)
- if (charToNum(char g of searchdata) > 97) and (charToNum(char g of searchdata) < 122) then
- set currentasciivalue to charToNum(char g of searchdata)
- set currentasciivalue to currentasciivalue - 32
- put numToChar(currentasciivalue) into char g of searchdata
- end if
- end repeat
- put "new word: " & searchdata
- end
-