[futurebasic] Re: [FB] Hex Conversions

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2000 : Group Archive : Group : All Groups

From: ted <ted@...>
Date: Tue, 19 Dec 2000 08:33:50 -0500
From the nimble fingers of Robert Covington (artlythere@...)
(19/12/2000 7:11 AM) came...

> One can print out a number in Hex using PRINT HEX$(256), etc.
> 
> How does one get the number back out of Hex'ed data?
> 
> I am trying to read some image tags in the Data Fork of a TIFF file.
> 
> Are there any applications that display Hex data in integer/converted format?
> 
> Thanks.
> 
> Robert Covington
> 

A$ = "FEDC"

print hex$(279)'so what?

a$ = "&h" + a$'mark it as a hex number

print a$

print val(a$)

do
handleevents
until fn button
-- 
Ted Spencer; ted@...
--
Beer is proof that God loves us and wants us to be happy. (Ben Franklin)