[Top][All Lists]

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

fflush at end of disp?

From: Keith Goodman
Subject: fflush at end of disp?
Date: Fri, 10 Sep 2004 12:09:40 -0500

Should the disp function force the buffer to be written with something
like fflush(stdout)?

I use

function disp2(txt)

The first Octave program I ran was the benchmark at When comparing Octave to
R and Matlab, the delay in displaying the Octave results left me with
a bad first impression.

On a related note, The help file for fflush says

" is always a good idea to flush the standard output stream
before calling `input'."

Why not start the input function with fflush?

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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