I wonder why the following code causes Stata to stop responding to the BREAK button in the interface:
Code:
tempfile tmp while 1 { capture confirm file `"`tmp'.png"' if _rc break tempfile tmp }
The code has an obvious flaw, there should be an exit command instead of break.
But the question is not why Stata goes into the infinite loop, but why it stops responding to break!
(StataMP 16.0/Windows).
Thank you, Sergiy
0 Response to Deadlock in Stata
Post a Comment