Chiming in late here, but I think there are fonts that have built in  
superscripts and subscripts. If you use one of those, it might be a  
lot easier to implement.

On Apr 22, 2007, at 10:42 AM, TJ Hanson, PhD wrote:

> Joe,
>
> Thanks for the info. After your post I went to the Internet and found
> the following link:
>
>      http://home.earthlink.net/~awinkelried/keyboard_shortcuts.html
>
> It lists how to enter, via a keyboard, all the odd symbols.
>
> TJ
>
>
> On Apr 22, 2007, at 7:06 AM, [EMAIL PROTECTED] wrote:
>
>> 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>
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to