Hi, what's the appropriate syntax if you want a .ado file to cut out with an error message if a
particular condition is satisfied? I thought that I could just write "end" in the loop, but it
isn't liking it. For instance, I wanted code to look like:
-----------------------
program define sample
if (condition) {
cut out of sample
}
else {
resume operation of the program...
...
}
end
-------------------------