Dear Statalist,
Maybe that's a silly question, but Google didn't give any answers:
I want to create a loop with foreach over ALL variables in a dataset,
foreach ALL VARIABLES {
...
}
It is not possible to write
foreach var1-var100

because the number and names of the variables vary from dataset to
dataset and the do-file has to work for any dataset without making
any changes.