help-octave
[Top][All Lists]
Advanced

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

Re: Octave language incompatibility problem


From: Doug Stewart
Subject: Re: Octave language incompatibility problem
Date: Sat, 24 Dec 2011 06:28:42 -0500



On Sat, Dec 24, 2011 at 2:44 AM, Jaroslav Fojtik <address@hidden> wrote:
Dears,

I have found that Matlab runs this line without any problem:
   if(i>=2) hold on; end;
But Octave hangs on it.

octave:7> process(n)
parse error near line 48 of file M:\Rev\process.m

 syntax error

>>>       if(i>=2) hold on; end;
                        ^

regards
  Jara


_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave


But
 if(i>=2) hold('on') ; end;

does work, but I don't see this form in the help message.
tested on octave 3.5.91
Doug


--
DAS

https://linuxcounter.net/user/206392.html

reply via email to

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