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
Draw vertical line in coefplotHi guys, I’m running regressions using the reghdfe command, and I want to plot the coefficients. 20…
Substracting dates to get days-betweeni, I am trying to work with dates - specifically getting the mean interval in days between two date…
Estimating a Dynamic Panel Threshold Model with the xthenreg commandDear Stata community, I'm using the Dynamic Panel Threshold methodology and get the following error…
Tabulate multiple variables with binary values into one table/supervariableHello everyone new here and to stata, so please forgive the numb question. I have a list of seven v…
Replacing valuesHi, I have a column containing different number and weights for grocery products (weights). Some pr…
Subscribe to:
Post Comments (Atom)
0 Response to confirm numeric format returns error code 111
Post a Comment