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

Home » Public Forums » archive » Re: A bug in Mac OS version?
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: A bug in Mac OS version? [message #13858] Tue, 15 December 1998 00:00 Go to previous message
Richard G. French is currently offline  Richard G. French
Messages: 65
Registered: June 1997
Member
Saeid Zoonematkermani wrote:
>
> 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?
>
>
on my 5.1 version, i do indeed get 65280:

IDL> print, '00FF00'x
65280
IDL> print,!version
{ alpha OSF unix 5.1 Apr 13 1998}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL with multiple processors
Next Topic: A bug in Mac OS version?

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

Current Time: Sat Oct 11 09:41:06 PDT 2025

Total time taken to generate the page: 1.44036 seconds