help-octave
[Top][All Lists]
Advanced

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

Re: About print data on screen


From: Michael Goffioul
Subject: Re: About print data on screen
Date: Thu, 13 Mar 2008 09:41:36 +0100

Screen output is buffered by default. To disable it, use "more off".

Michael.

On Thu, Mar 13, 2008 at 8:44 AM, José Luis García Pallero
<address@hidden> wrote:
> Hi,
> I have a doubt about how GNU/Octave print some data on screen. For example,
> if I execute the bellow script:
>
> for i=1:5
>     a = 4
>     sleep(1);
> end
>
> It must be print on scree the number 4, sleep one second, print 4 one more
> time, sleep one second again, ... fivr times. But in my computer (centrino
> laptop, Debian Sid and GNU/Octave compiled manually -no Debian binary-)
> GNU/Octave sleeps during 5 seconds (for i=1:5) and after it prints on screen
> a=4 five times. But if instead a=4 sentence I write warning('Hello') the
> script runs correctly: print Hello, sleep one second, print Hello, etc. How
> is the reason of this strange behaviour.
>
> Thanks.
>
> --
> *****************************************
> José Luis García Pallero
> address@hidden
> (o<
> / / \
> V_/_
> Use Debian GNU/Linux and enjoy!
>  *****************************************
> _______________________________________________
>  Help-octave mailing list
>  address@hidden
>  https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>



reply via email to

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