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

Home » Public Forums » archive » Re: Unsigned data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Unsigned data [message #7041] Wed, 11 September 1996 00:00
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Jay Nerdski wrote:
> I need to read-in and manipulate data arrays of unsigned integer (2
> byte). Currently I am kludging the job by promoting to long then
> normalizing, ignoring the troublesome end values. Has any one a more
> elegant solution?

If ARRAY is the unsigned short integer array, then

ARRAY = ARRAY AND 65535L

will convert it to long correctly.

Cheers,
Liam.

PS: you have mis-spelled 'community' in your return email address.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Warping or image fitting
Next Topic: Re: spawn oddity

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

Current Time: Wed Oct 08 19:21:35 PDT 2025

Total time taken to generate the page: 0.00553 seconds