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

Home » Public Forums » archive » Please explain...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Please explain... [message #5253] Sun, 26 November 1995 00:00 Go to previous message
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
Can someone explain this to me?

IDL> .r
- x = 0 & y = 0
- case 1 of
- x and y: print, '1'
- NOT x and y: print, '2'
- x and NOT y: print, '3'
- NOT x and NOT y: print, '4'
- endcase
- end
% Compiled module: $MAIN$.
% Case statement found no matches.
% Execution halted at $MAIN$ </dev/tty( 1)> .
IDL> if NOT x and NOT y then print, '4'
4
IDL>

The other three cases work as I expected in the case statement. Thanks.

-Bob
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Please explain...
Next Topic: Looking for a search routine

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

Current Time: Wed Oct 08 17:18:43 PDT 2025

Total time taken to generate the page: 0.00381 seconds