help-octave
[Top][All Lists]
Advanced

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

Re: Strange parse error


From: Paul Thomas
Subject: Re: Strange parse error
Date: Mon, 09 Aug 2004 16:07:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

It runs OK with octave-2.1.56 and RH9

Paul T

Peter Gawthrop wrote:

The following code:

function x = foo ()
 eval("arg = 1")
 x = sin(arg);
endfunction

Give a
parse error near line 3 of file foo.m
 syntax error
 x = sin(arg);




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

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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