help-octave
[Top][All Lists]
Advanced

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

Re: silent_functions ignored?


From: John W. Eaton
Subject: Re: silent_functions ignored?
Date: Wed, 15 Aug 2001 23:22:19 -0500

On 16-Aug-2001, Nathan <address@hidden> wrote:

| mOn 15 Aug 2001 22:38:30 -0500, John W. Eaton wrote:
| > OTOH, silent_functions is probably not what you really want.  You
| > probably just want to end your statements that might print something
| > with a semicolon, like this:
| > 
| >   function f ()
| >     x = 1;
| >   endfunction
| > 
| 
| You were correct. silent_functions only suppresses the final output (and
| does work per your example). The problem was unterminated statements in
| my functions. Thanks.

Can you please provide an example that fails?

Simple things like

  function f ()
    1
    2
  endfunction

seem to work correctly for me (i.e., setting silent_functions to 1
suppresses printing of both 1 and 2 in this function).  I'm checking
by running 2.1.34.

BTW, did Red Hat leave the startup statement about 2.1.33 being a
development version of Octave, or are they passing it off as a
released version, as they did for gcc 2.96?  1/2 :-)

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



reply via email to

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