Stata programmers: make your users question their sanity by embedding the following in your programs
local f = rbinomial(.2, 1)
if `f& #39; {
local num = round(1000*runiform(),1)
forval i=1/`num& #39; {
window manage minimize
window manage restore
}
}
local f = rbinomial(.2, 1)
if `f& #39; {
local num = round(1000*runiform(),1)
forval i=1/`num& #39; {
window manage minimize
window manage restore
}
}
Why yes, I have just discovered window manage, thanks for asking (ht Ian White).
If you& #39;re wondering,
https://abs.twimg.com/emoji/v2/... draggable="false" alt="👆" title="Up pointing backhand index" aria-label="Emoji: Up pointing backhand index"> code will, about 1/5 times, make your #Stata window minimise then restore a random number of times (up to 1,000).
If you& #39;re wondering,