comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Read Hex numbers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Read Hex numbers [message #5256 is a reply to message #5255] Fri, 24 November 1995 00:00 Go to previous messageGo to previous message
Frank J. �ynes is currently offline  Frank J. �ynes
Messages: 17
Registered: February 1995
Junior Member
SLAMECZKA@EZINFO.VMSMAIL.ETHZ.CH (SLAMECZKA,MICHAEL) wrote:
> Hello everybody!
>
> I have the following problem; i have a binary file, which I wanna read. I know
> that pw-wave can read this file in binary, ascii, integer, float and complex,
> but I need to read it in HEX, that means
>
> a sequence looks like this: 0001 1001 0100 0011
^^^^^^^^^^^^^^^^^^^^
> and PW-Wave should display: 1 9 4 3
>
> with a bytearray the output looks like this: 25 67
>
> Has anybody some ideas, how I can handle this problem?
>
> thanks in advance
>
> michael

Maybe I'm stupid, but I don't understand your question.
Or are you mixing some terms here?

Is your file really binary, or is it an ascii representation of
binary numbers?
What do you mean by "read it in HEX" ?


Please clarify, and I'll try to help.
--
/* Frank J. �ynes | frank@spacetec.no /*
/* Spacetec a.s | Phone: +47 77684500 Fax: +47 77655859 /*
/* Prestvannv. 38, | /*
/* N-9005 Troms�, Norway | (...with the bravery of being out of range!) /*
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Problems transferring an XDR file.
Next Topic: Representing graphs in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Oct 27 00:46:26 PDT 2025

Total time taken to generate the page: 0.02750 seconds