Home »
Public Forums »
archive »
Re: Does IDL have a #include functionality
Re: Does IDL have a #include functionality [message #30217] |
Tue, 09 April 2002 18:22 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Ed Wright (ed.wright@jpl.nasa.gov) writes:
> This question may be quite trivial, but I cannot seem to find a definite
> answer.
>
> I require a large number of constant values for a series of tests. Does IDL
> include the ability to include some external file in the same fashion as
> FORTRAN with include and C with #include?
>
> More simply, can I slurp in a file of assignments?
>
> My apologies if this is a stupid question - been a LONG day.
Try @filename, where "filename" is a .pro file of IDL
commands with no procedure or function definition line
and no END statement.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Current Time: Wed Oct 08 19:12:47 PDT 2025
Total time taken to generate the page: 0.00632 seconds