Replacing values after a specified date
Posted: Mon Jan 09, 2012 9:02 am
I'm brand new to programming. I am trying to replace values after a certain date in an annual dataset.
for !i = 2010 to 2085
if !i>= 2022 then altdocfix =5555
endif
next
Rather than replacing values after 2021 with 5555, this loop replaces ALL values. Any suggestion?
ac
for !i = 2010 to 2085
if !i>= 2022 then altdocfix =5555
endif
next
Rather than replacing values after 2021 with 5555, this loop replaces ALL values. Any suggestion?
ac