[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about script file

From: Andrass Ziska Davidsen
Subject: Re: about script file
Date: Tue, 8 Apr 2003 15:38:41 +0200
User-agent: KMail/1.4.3

On Tuesday 08 April 2003 15:10, myong wrote:
> I write a script file that name is "function.m", I want to use
> "source()" command to execute function.m file.
> so, I use command: source(function.m)
> but error occur:  "parse error:"

Try to enclose the name in quotes: source("function.m")

By the way; it is not necessary to use source in this case, just use function 
(without the .m end). Source is meant to execute scripts that do NOT have the 
.m end.

Andrass Ziska Davidsen
address@hidden c9603343

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]