help-octave
[Top][All Lists]
Advanced

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

About print data on screen


From: José Luis García Pallero
Subject: About print data on screen
Date: Thu, 13 Mar 2008 08:44:06 +0100

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!
*****************************************
reply via email to

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