[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hex constants interpreted differently in IDL/v5.2
- Subject: Re: Hex constants interpreted differently in IDL/v5.2
- From: thompson(at)orpheus.nascom.nasa.gov (William Thompson)
- Date: 25 May 1999 21:25:04 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
- References: <7icc27$de9@post.gsfc.nasa.gov>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:14902
thompson@orpheus.nascom.nasa.gov (William Thompson) writes:
>A colleague of mine (Craig DeForrest) pointed this out to me, and I thought it
>important enough to distribute more widely. Has anybody else run into this
>one?
>Apparently, IDL/v5.2 interprets some hexadecimal constants differently than
>previous versions. For example, the statement
> IDL> help,'aa7f'x
>under IDL/v5.1 produces the result
> <Expression> LONG = 43647
>while under IDL/v5.2, the following is returned
> <Expression> INT = -21889
Update -- I just heard that RSI considers this a bug, because v5.2 acts
differently in this regard than all earlier versions of IDL. The next version
of IDL should go back to the old behavior.
Bill Thompson