Do you mean something like
while. .... do.
<long-running stuff>
smoutput < your diagnostics>
wd 'msgs' NB. reinstated for Jqt by Bill Lam (I think)
end.
?
where
smoutput
0 0 $ 1!:2&2
Does that help?
Mike
On 19/05/2016 16:48, Mike Duvos wrote:
I'm using jqt64, and I have a function that takes a fairly long time
to run, and prints out its progress to the screen at regular intervals
using (1!:2)&2.
Unfortunately, all the output comes out when the function finishes, as
opposed to the desired behavior of showing progress as it happens.
If there something in J that will do the equivalent of an fflush?
thanks,
Mike
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm