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

Home » Public Forums » archive » Re: integer?
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: integer? [message #31620 is a reply to message #31618] Wed, 31 July 2002 05:26 Go to previous messageGo to previous message
tom is currently offline  tom
Messages: 28
Registered: April 1995
Junior Member
I know that. That because I use /xdr in open.

Thanks.

On Wed, 31 Jul 2002 09:32:37 +0100, Nigel Wade <nmw@ion.le.ac.uk>
wrote:

> tom wrote:
>
>> Hi, all
>>
>> This is a segment of HEX: 00 00 00 64
>>
>> there are two 2byte-integers in it.
>> But when I set
>> a=0
>> readu,lun,a ; I hope a=hex(00 00)
>> print,a
>> the result is 100. That's a=hex(00 00 00 64)
>> that's the same as "a=0l readu,lun,a"
>>
>> how to read 2byte integer then?
>>
>> Tom
>
> Could the number be one little endian 32 bit integer rather than two 16 bit
> ones? That would account for the discrepancy.
>
> What platform are you doing this on, and what platform was the data file
> created on?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Molecular models and contour maps
Next Topic: Re: Image scrolling, displaying axes from outside the visible window

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

Current Time: Sat Oct 11 14:08:45 PDT 2025

Total time taken to generate the page: 0.95928 seconds