[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: RE: What's wrong with this "For" command?
> > I met some confusing problem and refered to the
> > reference book but haven't got any clue yet.
> > Here's my code in the do file:
> > ......
> > gen last_occu=ro_jcd01
> > for ro_jcd02-ro_jcd10 : last_occu=@ if @!=.
> > .....
> > Everytime the computer told me:
> > "ro_jcd02-ro_jcd10" invalid list type
> > while these are valid variables in my dataset
> for var ro_jcd02-ro_jcd10 : last_occu=@ if @!=.
also insert "replace"
* For searches and help try: