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

Home » Public Forums » archive » Re: WORD 16 bit unsigned?
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: WORD 16 bit unsigned? [message #11331 is a reply to message #11288] Tue, 24 March 1998 00:00 Go to previous messageGo to previous message
David Kastrup is currently offline  David Kastrup
Messages: 33
Registered: February 1998
Member
dors@gamma.physics.uiowa.edu (Eric E. Dors) writes:

> No there aren't any unsigned data types in IDL, I have talked to the
> IDL folks (David Stern) about this one, and I didn't get the
> impression that they have any intention of supporting them either.
> This can be a big problem when reading in data not created by IDL.

read them into an ordinary int array (say x), then calculate

( x + 65536L * (x LT 0))


--
David Kastrup Phone: +49-234-700-5570
Email: dak@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209
Institut f�r Neuroinformatik, Universit�tsstr. 150, 44780 Bochum, Germany
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Wavelet Transform for imagery
Next Topic: Re: Color BMP problems

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

Current Time: Sun Oct 12 00:02:02 PDT 2025

Total time taken to generate the page: 0.07127 seconds