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

Home » Public Forums » archive » Obsfucated IDL, was Re: assignment inside boolean expression
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Obsfucated IDL, was Re: assignment inside boolean expression [message #20597] Tue, 11 July 2000 00:00
bjackel is currently offline  bjackel
Messages: 10
Registered: September 1993
Junior Member
Patrick Broos wrote:
>
> I was wondering if it's common knowlege that one can put an IDL
> assignment inside a boolean expression.

Which allows for some nasty tricks like this

a= 3
IF ((b= a*3)) EQ 9 THEN PRINT,'True'
PRINT,b ;will be equal to a*3= 9

Combined assigment and boolean evaluation.
Just remember, they can't replace you if
your code is un-readable...

Brian
[Message index]
 
Read Message
Previous Topic: problems with cw_form in IDL5.3
Next Topic: 3D mesh projection

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

Current Time: Sun Oct 12 00:58:47 PDT 2025

Total time taken to generate the page: 0.80141 seconds