help-octave
[Top][All Lists]
Advanced

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

Re: try catch end


From: Tom Holroyd
Subject: Re: try catch end
Date: Mon, 09 May 2005 14:10:24 -0400
User-agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324)

OK, the problem is the absence of the catch.

try, a = a; end;

is a parse error, but,

try, a = a; catch disp('moo'); end;

is fine.

In matlab, the catch is optional.  I guess I can

try, a = a; catch; end;

stick some catches in there...



-------------------------------------------------------------
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]