Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!cash@csmil.umich.edu From: cash@csmil.umich.edu (Howard Cash) Newsgroups: comp.sys.mac.programmer Subject: automatic option keys Summary: Seeking help to efficiently convert char to option-char. Message-ID: <11218@mailgw.cc.umich.edu> Date: 6 Mar 89 02:36:01 GMT Sender: usenet@a.cc.umich.edu Reply-To: cash@csmil.umich.edu (Howard Cash) Organization: Cognitive Science and Machine Intelligence Laboratory Lines: 9 Here is a standard way to uppercase a character: #define toupper(c) ((c) - 'a' + 'A') Can someone recommend to me an efficient function or macro, tooptchr(c), that will convert c to option-c? This is for use with a long string of characters in a custom font (representing musical notes). -howard cash cash@csmil.umich.edu (313)663-0156