Home »
Public Forums »
archive »
Correct format of "included" files (using "at" sign)
Correct format of "included" files (using "at" sign) [message #1851] |
Tue, 01 March 1994 11:12 |
steele
Messages: 5 Registered: March 1994
|
Junior Member |
|
|
I'm trying to use the "at" sign (the $%^&*! 'xrn' editor won't let
me type it!) to substitute some code into IDL. The procedure is
tersely described on p. 2-7 of the User's Guide for v3.1. I'm
getting a problem that I think has to do with the format of the
code I'm including. It is an IF_THEN_ELSE block with no header
line (like PRO ... or FUNCTION ...) and no trailer lines (like
RETURN, END, EXIT). If I run the routine that invokes the code
substitution, I get syntax errors in the first lines following the
invocation. If I add a line saying 'END' to the substituted code,
I get dropped back to the IDL> prompt at the end of the substituted
code.
Can anyone tell me what I should be doing differently? I've read
the manual and the FAQ, but no luck. If anyone can help me with
this, we should put the disseminated knowledge into the FAQ.
Thanks to all. Perhaps a posted response is appropriate, since
the question may be of general interest.
Dave
--
David Steele | Internet : steele@wesson.phys.ucalgary.ca
Department of Physics and Astronomy | SPAN : CANCAL::STEELE
The University of Calgary | Phone : +1 403 220 8651
OPINIONS EXPRESSED WITHIN ARE MY OWN AND NOT THOSE OF THE UNIVERSITY OF CALGARY
|
|
|
Current Time: Sat Oct 11 09:18:42 PDT 2025
Total time taken to generate the page: 0.32056 seconds