[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bitwise operators in IDL?



JD Smith <jdsmith@astro.cornell.edu> writes:

[...]
> Only scalars allowed in if's.  As long as the new lAND and lOR operators
> are only allowed within if statements, no trouble arises.

I've previously suggested the Simula variants "AND THEN" and "OR
ELSE". Which have the benefits of not introducing any new keywords to
confuse with variables, and also reads in a meaningful way..(conveying
the order and sense of use). A bit wordy, but still.

-- 
--------------------------------------------------------------------------
Stein Vidar Hagfors Haugan                                    
ESA SOHO SOC/European Space Agency Science Operations Coordinator for SOHO

NASA Goddard Space Flight Center,      Email: shaugan@esa.nascom.nasa.gov
Mail Code 682.3, Bld. 26,  Room G-1,   Tel.:  1-301-286-9028/240-354-6066
Greenbelt, Maryland 20771, USA.	       Fax:   1-301-286-0264
--------------------------------------------------------------------------