hi
I am trying to run the following:

genr monthly_w_c = if (V4 < 6) V49/1000 else V49 endif

and am getting an error "The symbol 'if' is undefined"

is there a way to generate the series in one command or do I need to create a list of 1/1000s and 1s and multiply?

thanks


"I often see problems in the world and wonder why someone doesn't fix them. Then I realize that I am someone, and that makes me feel bad because it is all my fault."
http://dilbert.com/blog/entry/fixing_the_world/