Welcome to iraf.net Thursday, May 02 2024 @ 08:44 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Syntax error using 'files' in a procedure script
   
Gaba_p
 03/11/2009 08:46PM (Read 2306 times)  
++++-
Regular Member

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.

 
Profile Email Website
 Quote
fitz
 03/11/2009 08:46PM  
AAAAA
Admin

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

 
Profile Email
 Quote
Gaba_p
 03/11/2009 08:46PM  
++++-
Regular Member

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!

 
Profile Email Website
 Quote
   
Content generated in: 0.10 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login