help-octave
[Top][All Lists]
Advanced

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

RE: Turn off intermediate answers in script?


From: Gerald Ebberink
Subject: RE: Turn off intermediate answers in script?
Date: Wed, 22 Sep 2004 20:49:08 +0200

Because it is The Answer.
The answer to life the universe and everything.
;-)

Ing. Gerald Ebberink
Research Technician
 
Kernfysisch Versneller Instituut
Rijksuniversiteit Groningen
Zernikelaan 25
9747 AA Groningen
The Netherlands
tel: +31 50 363 3518
lab: +31 50 363 3588
fax: +31 50 363 4003


-----Oorspronkelijk bericht-----
Van: Keith Goodman [mailto:address@hidden 
Verzonden: 22 September 2004 20:44
Aan: Gerald Ebberink
CC: James Knowles; address@hidden
Onderwerp: Re: Turn off intermediate answers in script?

Why is the answer always 42?


On Wed, 22 Sep 2004 20:28:45 +0200, Gerald Ebberink <address@hidden> wrote:
> This is simple,
> Just add a semi-colon (;) behind the lines which give the output
> You don't need.
> 
> >40+2
> Ans = 42
> >40+2;
> >
> 
> Ing. Gerald Ebberink
> Research Technician
> 
> Kernfysisch Versneller Instituut
> Rijksuniversiteit Groningen
> Zernikelaan 25
> 9747 AA Groningen
> The Netherlands
> tel: +31 50 363 3518
> lab: +31 50 363 3588
> fax: +31 50 363 4003
> 
> -----Oorspronkelijk bericht-----
> Van: James Knowles [mailto:address@hidden
> Verzonden: 22 September 2004 20:03
> Aan: address@hidden
> Onderwerp: Turn off intermediate answers in script?
> 
> 
> 
> I can't find this in the archives or the help files.
> 
> I have several .m scripts that I wrote to analyse large amounts of data.
> However, as each operation is executed, the normal response one sees on
> the command line is displayed. With arrays of 44 columns of 18,000+ rows
> of data it's hard to find the printf() output in the sea of uninterested
> details.
> 
> Can I silence these unwanted "ans" etc. messages when running a script?
> They're normally wanted at the command line, of course.
> 
> Thanks!
> 
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
> 
> 
> 
> 
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
> 
>



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





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