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

Home » Public Forums » archive » A bug in Mac OS version?
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
A bug in Mac OS version? [message #13864] Tue, 15 December 1998 00:00
Saeid.Zoonematkermani is currently offline  Saeid.Zoonematkermani
Messages: 6
Registered: December 1997
Junior Member
Hello,

This is a rather curious bug that I noticed after I upgraded to 5.2. Of
course this may not be a bug but if I am being really stupid, please let
me know.

IDL> print, !version
{ PowerMac MacOS MacOS 5.2 Oct 30 1998}
IDL> print, '0000FF'x
255
IDL> print, '00FF00'x
-256
IDL> print, 'FF0000'x
16711680

Shouldn't '00FF00'x be equivalent to 65280? Is this behavior also repeated
on other platforms?

- Saeid

--
Saeid Zoonematkermani
Dept. of Physics & Astronomy
State University of New York
Stony Brook, NY 11794-3800

EMail: Saeid.Zoonematkermani@sunysb.edu
Voice: (+1) (516) 632-8237 Fax: (+1) (516) 632-8742
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: A bug in Mac OS version?
Next Topic: IDL bugs list?

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

Current Time: Fri Oct 10 07:06:05 PDT 2025

Total time taken to generate the page: 0.95797 seconds