Hello,
I am using the assert command in a program that I wrote and I get the error message indicating false assertion:
If, however, I flip the alligator clips to indicate that var1, var2, and var3 are positive in the assert command then the code runs fine. This is not what I want though as these variables should be negative as defined in the local macros. Is there a workaround for this?
I am using the assert command in a program that I wrote and I get the error message indicating false assertion:
Code:
local var1 -3.0 local var2 -5.0 local var3 -3.1 program define test, rclass args var1 var2 var3 assert `var1' < 0 & `var2' < 0 & `var3' <0 end test . . . r(9);
Comment