Subj : Re: Issue with MPL script To : g00r00 From : LEE WESTLAKE Date : Fri Jan 07 2022 09:04 pm g0> My first suggestion would be to update to the A47 release since I no g0> longer have the A46 code to make a fix if we do determine a bug exists. g0> It could be something fixed in A47 as well. OK, this is in the pipeline for me. g0> Assuming you're not trying to do more than what you're showing here you g0> could simplify this with a single line like: g0> g0> Repeat Until OneKey('Q') = 'Q'; g0> g0> Or g0> g0> Repeat Until UpCase(ReadKey) = 'Q'; This was a stripped down piece of code which contained multiple exit criteria, hence the exit bool. g0> In any case, if you are going to loop like you are there I would suggest g0> putting some minor delay in there so as to not blow up your CPU usage. g0> Maybe a delay(10) at the bottom of the repeat loop. Agreed: the original code did indeed have a delay to cycle the thread. Once i get A47 up, I'll test and let you know. o-----------o------------o-------------------------o TALIADON | 2:250/6 | 21:3/138 | TALIADON-BBS@MAIL.COM | o-----------o-----------o------------o-------------------------o | "Error is a great teacher, and humility its hardest lesson." | o--------------------------------------------------------------o --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32) * Origin: TALIADON BBS (2:250/6) .