Hello,

I've been around for a year on this community, but this is my first post. I am running a forloop, and it gives me this error: too many variables specified r(103);.

Here is my code:

Code:
levelsof uscity if us == 1, local(uscitylist)
foreach city of local uscitylist {
    g `city'_NS = .
    replace `city'_NS = .
}
There are 9 items in local uscitylist. The code works for the first 5 items, and then gives the error.

How can I make the forloop work?


Thank you