Dear Statalists,

Is there a way that I could loop through the variables in a dataset and get a list of factor variables in the dataset?

Kind regards,

Christian.