Syntax error using ‘files’ in a procedure script
Gabriel wrote on Mar 11, 2009
Hello again,
I'm trying this:
procedure test (arguments)
declaration of parameters
begin
declaration of variables
files *.fit > fitfile
...more script commands
end
and I get a 'Syntax error' on the 'files' line every time. Can I use this command in a procedure script?
Gaba.
I'm trying this:
procedure test (arguments)
declaration of parameters
begin
declaration of variables
files *.fit > fitfile
...more script commands
end
and I get a 'Syntax error' on the 'files' line every time. Can I use this command in a procedure script?
Gaba.
Mike Fitzpatrick wrote on Mar 11, 2009
You need to use the 'compute mode' syntax, i.e.
What you have now is 'command mode', useful on the commandline or when running scripts via indirection.
-Mike
files ("*.fit", > fitfile)What you have now is 'command mode', useful on the commandline or when running scripts via indirection.
-Mike
Gabriel wrote on Mar 11, 2009
I think it's the third time you've told me about 'compute mode' and I keep forgetting...
Sorry about that, and thanks again!
Sorry about that, and thanks again!
Last post on Mar 11, 2009