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

Home » Public Forums » archive » Function Makes Unexpected Appearance
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: Function Makes Unexpected Appearance [message #65568 is a reply to message #65517] Sun, 08 March 2009 13:51 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ed.schmahl@gmail.com writes:

> David must have written this after a few beers, I thought, when I went
> to the link provided, and
> read interesting stuff about Black Holes and the Three-Body program.
> "But what the heck does this
> have to do with the STRUCT_ASSIGN procedure?" So I checked out the
> docs on STRUCT_ASSIGN. Cool program! Might even be useful, but I was
> to tired to think about the relation to black holes and the "wierd
> constant" of the 3-body problem, and went to bed.
>
> About an hour later I woke up out of a sound sleep (David's messages
> can have this effect -- be warned), inadvertently awakening my gently
> snoring wife, and said to myself, "That's what David meant!'
>
> BlackHole=3D{a:randomn(10),wierd_constant:3.1415271818}
> ThreeBody=3D{b:randomn(5),wierd_constant:3.1415271818}
> STRUCT_ASSIGN, /VERBOSE, BlackHole,ThreeBody
> print,ThreeBody,format='(2F15.10)'
>
> Ed Schmahl,
> New member of STRUCT_ASSIGN FANS ANONYMOUS

Thank goodness. I *knew* I meant something, but I was having
a devil of a time remembering what it was! :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Black Widgets Draw Window in d_plot2d and d_gridding
Next Topic: CORRELATE where is the problem?

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

Current Time: Wed Oct 08 11:41:30 PDT 2025

Total time taken to generate the page: 0.00421 seconds