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

Home » Public Forums » archive » Re: warning: (all(part1))(part2) = part2*0.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: warning: (all(part1))(part2) = part2*0. [message #11881] Thu, 04 June 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
R. Bauer (r.bauer@fz-juelich.de) writes:

> all = findgen(100)
> part1 = findgen(10)
> part2 = findgen(3)
> print,(all(part1))(part2)
> 0.00000 1.00000 2.00000
> This will gave an error like:
>
> % Temporary variables are still checked out - cleaning up...

And Stein Vidar thought *I* was writing strange code! :-)

Cheers,

David

P.S. I think we should have a contest to see who can write
the lousiest IDL code. (Or the code which most resembles
C code, which often amounts to the same thing.) Bonus points if
the user can't figure out *what* it is suppose to do!

Nah, it would be too easy for some of us old farts to win. :-)

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: subpixel image movement by bicubic interpolation?,
Next Topic: Re: on_ioerror?

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

Current Time: Wed Oct 08 13:39:44 PDT 2025

Total time taken to generate the page: 0.00552 seconds