[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: forvalues and _N
I have a problem using a forval loop to assign values to a numeric variable
(for brevity, assume that -encode- doesn't work here). I want to loop
through the entire dataset, addressing each value in turn, so
.forval e = 1/_N
would appear to be the appropriate form. I get an "invalid syntax" error
when I do so.
gives me the expected result for this dataset, 2339.
.forval e = 1/2339
works as expected.
How am I screwing this up?
John Wallace | Research Associate | Test Method Development
AFFYMETRIX, INC. | 3380 Central Expressway | Santa Clara, CA 95051 | Tel:
408-731-5574 | Fax: 408-481-0435
* For searches and help try: