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

Home » Public Forums » archive » Re: Global variables and command line
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: Global variables and command line [message #11573 is a reply to message #11566] Fri, 17 April 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Daniel SAGE (daniel.sage@epfl.ch) writes:

> I would like use the variables created in the input command line inside
> the procedures/functions. But in my application where I automatically
> generate IDL code, I can't use the common mechanism or passing by
> parameters.

> How is it possible to make V2 visible inside the test procedure when I
> can't pass the parameters with the run procedure ?

Well, at the risk of being too obvious here, I would suggest
putting V2 *in* the common block. :-)

> IDL> common var, v1

to IDL> common var, v1, v2

Cheers,

David

-----------------------------------------------------------
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/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: temporary function
Next Topic: Re: Ranting and Raving and getting back to global variables

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

Current Time: Sun Oct 12 02:09:12 PDT 2025

Total time taken to generate the page: 0.56557 seconds