New topic: 

How to convert two hexidicimal characters into an ubyte

<http://forums.realsoftware.com/viewtopic.php?t=25772>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       JustSomeGuy           Post subject: How to convert two 
hexidicimal characters into an ubytePosted: Wed Dec 24, 2008 2:10 pm            
                   
Joined: Fri May 11, 2007 11:35 am
Posts: 318              If I a have a string 
dim a as string
dim b as byte  'Unsigned 8?
a="FF"
b = tounsignedbyte(a)  ' b should be 255 or &hFF

I could do the conversion looking a each byte and converting it to a number 
between 0 and 15... etc..
I'm looking for a simple built in function to do this.     
_________________
A picture paints a thousand words.
A thought paints a thousand pictures.  
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to