f



read hex data

Hi, I use

number=0l & readu,lun,number

to read int32 data, but how to read int16 data?

Regards,

Tom


0
Tomson
9/9/2003 1:37:17 AM
comp.lang.idl-pvwave 12260 articles. 4 followers. Post Follow

2 Replies
838 Views

Similar Articles

[PageSpeed] 16

"Tomson"  wrote in message ...
> Hi, I use
>
> number=0l & readu,lun,number
>
> to read int32 data, but how to read int16 data?

How about:

number=0s & readu,lun,number

-r


0
Rick
9/9/2003 1:43:44 AM
the data is 0x2000 1000, that is not a long integer, but two int16 integers.

how to read it? It can not work like this

number=[0,0] & readu,lun,number


"Tomson" <tom2959@21cn.com> д���ʼ� news:bjjau4$805$1@mail.cn99.com...
> Hi, I use
>
> number=0l & readu,lun,number
>
> to read int32 data, but how to read int16 data?
>
> Regards,
>
> Tom
>
>


0
Tomson
9/9/2003 3:15:12 AM
Reply: