Hi Eric, If you're problem is when using JQT, you should use
wd'msgs' in order to force the GUI to update after writing output to the terminal to show the output you just emitted. As far as I understand, it is done so for performance reasons, as updating the GUI would make your loop slower. But since you are purposefully inserting delays, I guess this wouldn't bother you :). It's sort of hard to discover (I don't know why), but I think this solves your problem. Best regards, Jan-Pieter. Op zo 3 jan. 2021 om 00:22 schreef Don Guinn <[email protected]>: > You might look at (WD 'timer milliseconds'). It will delay without locking > your app. > > On Sat, Jan 2, 2021, 3:53 PM cilz <[email protected]> wrote: > > > Thanks Devon, > > > > Though, at first look, it's really very far away from my current J > > knowledge :-) > > > > Best, Eric > > > > Le 02/01/2021 à 23:47, Devon McCormick a écrit : > > > To be a little more helpful, perhaps something like a mutex (file-lock) > > is > > > what you're looking for: > > > https://code.jsoftware.com/wiki/User:Devon_McCormick/mutex.ijs . > > > It does use a while loop though that might be improved by putting in a > > > randomly-variable wait time. > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
