Dear statalist,
is there a way to write the following command

Code:
drop if intention1==9 & intention2==9 & intention3==9 & intention4==9 ///
& intention5==9 & intention6==9 & intention7==9 & intention8==9
in a way that I do not explicitly have to write out all variables names? I have to write similar commands including many more variables. I thought about a forvalues loop but that will read as "or" and not "and".
Thank you,
Sarah