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

Home » Public Forums » archive » Re: Oh No...
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: Oh No... [message #53503 is a reply to message #53501] Wed, 18 April 2007 05:38 Go to previous messageGo to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
mfein2@gmail.com wrote:
> I've just discovered, after many years of using IDL, that expressions
> have a value:
>
> IDL> print, (x = 5)
> 5
>
> The possibilities for Obfuscated IDL have now gone to 11 on a scale
> from 0 to 10.
>

Speaking of which, what about

IDL> delvar,a ;undefines a
IDL> a[(a=2*findgen(10))]=1 ;agreed, this is a bit crazy, but hold on
IDL> print,a
1.00000 1.00000 1.00000 6.00000 8.00000 10.0000 1.00000
14.0000 1.00000 1.00000

Now, this must be a bug, surely... (or a very strange feature indeed).


Ciao,
Paolo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Text in plots
Next Topic: Oh No...

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

Current Time: Fri Oct 10 16:58:56 PDT 2025

Total time taken to generate the page: 0.95952 seconds