Loop isn't working. Help!
Ok, I'm stumped and getting a bit annoyed... I have a JMP file (DT2) with 167 records. MaxOrigRows does get set to 167. However, the FOR loop goes into an infinite loop. Inside the loop, the value of MaxOrigRows IS 167, but the variable "i" was going past 60,000 when I was able to finally stop. Can anyone see anything wrong?
MaxOrigRows = NRow(Dt2);
Show (MaxOrigRows);
For (i=1,MaxOrigRows, i++,
Show(i,MaxOrigRows);
);