[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A bug in Mac OS version?
- Subject: A bug in Mac OS version?
- From: Saeid.Zoonematkermani(at)sunysb.edu (Saeid Zoonematkermani)
- Date: Tue, 29 Dec 1998 04:12:23 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: SUNY, Stony Brook
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:13228
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