I'm wanting to use confirm numeric format to check that a user-entered format is valid, but when the format IS valid, the return code is 111. This code is not acted on, ie the program continues.
confirm numeric format %5.2f
di "_rc:" _rc
This seems to be a bug? It means that I have to explicitly test for _rc==7 rather than just !_rc in my program
Related Posts with confirm numeric format returns error code 111
Compare betas of two different models while using asdoc and reghefe Code: asdoc reghdfe pm rc l.pm interaction1 l.asse /// l.lev if dummy ==0, absorb(cc industry_year_…
Compare similarity of structure (percentage distribution) for one conditionHello guys, I hope someone here can help me with my stata problem. I want to find out if the structu…
spmap to plot dataHi Everyone, I am using the 2015-16 wave of the Demographic and health survey from India, it contai…
stack/unstack?Dear All, Suppose that I use -stack- command in the following. Code: webuse stackxmpl, clear . li…
Multiple "lincoms" after "margins" with "at"?Goal: I want to subtract the results of "margins" from a constant. My approach: Use margins with "a…
Subscribe to:
Post Comments (Atom)
0 Response to confirm numeric format returns error code 111
Post a Comment