Welcome to iraf.net Thursday, May 02 2024 @ 08:44 AM GMT
Gaba_p |
03/11/2009 08:46PM (Read 2306 times)
|
|
|
Status: offline
Registered: 10/10/2008
Posts: 104
|
Hello again,I'm trying this:procedure test (arguments)declaration of parametersbegin declaration of variables files *.fit > fitfile
...more script commandsendand I get a 'Syntax error' on the 'files' line every time. Can I use this command in a procedure script?Gaba.
|
|
|
|
fitz |
03/11/2009 08:46PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
You need to use the 'compute mode' syntax, i.e.[code:1:9e43994fc9]files ("*.fit", > fitfile)[/code:1:9e43994fc9]What you have now is 'command mode', useful on the commandline or when running scripts via indirection.-Mike
|
|
|
|
Gaba_p |
03/11/2009 08:46PM
|
|
|
Status: offline
Registered: 10/10/2008
Posts: 104
|
I think it's the third time you've told me about 'compute mode' and I keep forgetting...
Sorry about that, and thanks again!
|
|
|
|
| |
|
Content generated in: 0.10 seconds |
|