Hello,


Can anyone help me identify why:

Code:
foreach var of varlist `contvarlist' {
            di "`var'"
            }
Would produce a shorter variable list than
Code:
ds `catvarlist'

If it's helpful, catvarlist is:
Code:
   foreach v of var *{
        inspect `v'
        if r(N_unique)<10 {
        local catvarlist `catvarlist' `v'
        }
        }
Additionally, if there's any info I could/should add, please let me know.

Thank you!

-Reese

v14.2