On Apr 21, 2007, at 22:13 UTC, TJ Hanson, PhD wrote: > Solved. The Mac ASCII decimal value for a degree symbol is 161.
That's not an ASCII value; ASCII values range from 0-127 only. > To fetch a degree symbol, use > > DIM S AS STRING > S = Encodings.MacRoman.Chr(161) That'll do it on a Mac, at least as long as Apple continues to support MacRoman (which at this point is a legacy encoding). It is not likely to work on other platforms, though. A better way is to use the Unicode character, Encodings.UTF8.Chr(&hB0). Or, even simpler, just type it right into the code editor or property where you want it, i.e. "°". REALbasic is fully Unicode-savvy; there's no reason not to type pretty much any character that exists anyplace you can type in RB. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/
_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
