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

Home » Public Forums » archive » Re: From Bytes to Doubles, etc.
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: From Bytes to Doubles, etc. [message #11986] Sun, 21 June 1998 00:00 Go to previous message
Justin[1] is currently offline  Justin[1]
Messages: 4
Registered: June 1998
Junior Member
csaute3@alumni.umbc.edu wrote in message
<6m91i4$2n6$1@nnrp1.dejanews.com>...
> Justin,
>
> You posted asking how to convert binary data
> back to the original numbers. you said there are only a few numbers
> that you want to convert and you know where they exist in the array.
> This is what I do:
<snip>
> ; to convert to long where 0 is my offset in the byte array
> number = long(data, 0)
>


Cathy,

I think this was case of not reading the manual - I didn't know of the
offset argument for the conversion functions in IDL, my apologies! Thanks
for bothering to reply, this has saved me a lot of work and messy coding -

Justin
[Message index]
 
Read Message
Read Message
Previous Topic: To found the size(area) of a certain domain.
Next Topic: Re: IDL Object for creating a Singleton

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

Current Time: Fri Oct 10 23:02:18 PDT 2025

Total time taken to generate the page: 1.19809 seconds