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

Home » Public Forums » archive » Re: Correct format of "included" files (using "at" sign)
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: Correct format of "included" files (using "at" sign) [message #1844] Wed, 02 March 1994 07:02 Go to previous message
sterner is currently offline  sterner
Messages: 106
Registered: February 1991
Senior Member
kspencer@iti.org (Kevin Spencer) writes:

> Yes, it's frustrating that they don't document the differences in syntax
> between compiled routines and the "script" files. As far as I know, you
> have to keep statements to one line, and can't use block statements. IDL
> just treats the commands as if they were issued in interactive mode.

Think of the @ symbol as meaning "include the contents of the
specified file at this point" where that text must be appropriate
for the current IDL mode. If you are in interactive mode the @ file
is called a batch file and must have the same syntax as you would
type in that mode. If you are in compile mode the file is called
an include file and the text may have the syntax used in routines.

Ray Sterner sterner@tesla.jhuapl.edu
Johns Hopkins University North latitude 39.16 degrees.
Applied Physics Laboratory West longitude 76.90 degrees.
Laurel, MD 20723-6099
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: What's happening at support@pvi.com
Next Topic: rotate y axis values

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

Current Time: Wed Oct 08 19:13:59 PDT 2025

Total time taken to generate the page: 0.00439 seconds