help-octave
[Top][All Lists]
Advanced

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

Re: disp in a cycle?


From: Neil Davey
Subject: Re: disp in a cycle?
Date: Mon, 30 Aug 1999 20:53:16 +1000 (EST)

Hi,

On Mon, 30 Aug 1999, Mikhail Zotov wrote:

> Hi,
> 
> I am running octave under linux RH 6.0.
> I have the following question (not found in FAQ).

me to.. :)

> Suppose my program contains the lines:
> 
> for i=1:10
>     disp(i)
>     <some operators>
> endfor
> 
> Thus, I'd like to have the number of the current step displayed
> while the cycle goes on.  But it happens that first the cycle
> runs "silently", but when it is already over I get a column of
> 1
> ...
> 10
> 
> How can I fix this behavior?


try typeing

page_screen_output=0

at the prompt..

 
> Thank you,
> 
> Mikhail Zotov
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.  To ensure
> that development continues, see www.che.wisc.edu/octave/giftform.html
> Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
> ---------------------------------------------------------------------
> 


if that does what you want... place it in your ~/.octaverc file and it
will behave like every time...

Regards
        Neil

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Neil Davey
Postgraduate Research Student
Radio Science Laboratory
School of Microelectronic Engineering
Griffith University, Nathan, QLD Australia 4111
Ph: 3875 5574
Fax: 3875 5198
Mobile: 0414 662 110

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        Life is but a journey involving bigger and bigger fences

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Linux - Don't fear the penguin......



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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