Hello!
How can I use the capture command confirm variable to do sth if a variable exists and other think is the variable doesn't exist? Is it possible to associate the capture command to a non existence of a variable?
Ex:
capture confirm variable teste if c(rc) == { display "variable teste exists" } how can I display, por ex, "variable teste does not exist" if it is the case?
How can I use the capture command confirm variable to do sth if a variable exists and other think is the variable doesn't exist? Is it possible to associate the capture command to a non existence of a variable?
Ex:
capture confirm variable teste if c(rc) == { display "variable teste exists" } how can I display, por ex, "variable teste does not exist" if it is the case?
Comment