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

Home » Public Forums » archive » Re: Using Comm... err, alternative?
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: Using Comm... err, alternative? [message #21195 is a reply to message #21182] Thu, 17 August 2000 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Pavel Romashkin (promashkin@cmdl.noaa.gov) writes:

> My idea was, if a user creates several plot windows during an ad-hoc
> session, then he can overplot from command line to any one of them by
> just bringing it to the foreground. I am beginning to think that a
> common block is appropriate here, because I see no other way to link an
> existing widget with command-line executed code.

I think the only alternative to a Common block would
be to make the initial "Plot" command a function that
returned some kind of reference, which the user could
keep track of to do the "overplot". The "self" object
reference comes immediately to mind, but then your
user is going to know for sure that this thing is an
object and run like hell in the other direction. :-(

Cheers,

David

P.S. I looked "object" up in my dictionary and I find
no reference to "voodoo" or "werewolf" anywhere. I don't
know where the notion that these things are to be
avoided came from.

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VIRUS ALERT (was: Ghost object)
Next Topic: Re: get values from WIDGET_TABLES

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

Current Time: Sat Oct 11 14:35:26 PDT 2025

Total time taken to generate the page: 0.47950 seconds