From help-request at octave dot org Mon Aug 9 09:12:44 2004 Subject: Strange parse error From: "John W. Eaton" To: p dot gawthrop at eng dot gla dot ac dot uk Cc: help at octave dot org Date: Mon, 9 Aug 2004 11:12:00 -0400 On 9-Aug-2004, 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); | | presumably because octave thinks that arg is the built-in of that name | rather than a variable. | | I am running octave 2.1.57 under debian. | | Any ideas? I've not been able to reproduce this problem. Can you please submit a complete bug report using the bug_report function from inside Octave? Thanks, jwe ------------------------------------------------------------- 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 -------------------------------------------------------------