Karovaldas
2006-05-23 03:16:25 UTC
I've been writing loops and making mistakes. Unfortunately, after I
make a mistake that results in an unclosed LOOP, I have to close and
re-open the data file because it becomes locked. The status line reads
"Transformations Pending", but running transformations only yield more
error messages telling me that a DO or a LOOP is not closed.
Is there a way to tell the program to ignore the error and discard the
pending transformatoins?
Also, I am not entirely sure what's wrong with the LOOP itself. Below
is a part of it that sometimes works and sometimes does not. I used a
"DO IF ... ELSE IF" sequence and eventualy had to resort to single DO
IF within a loop. Can LOOP handle multiple ELSE IF structure?
VECTOR D=Dble3 TO Dble13 .
LOOP #I = 1 TO 11 .
- DO IF Stage = 4 .
+ DO IF RTime = #I+2 .
+ COMP D(#I) = 1 .
+ END IF .
- END IF .
END LOOP
EXE .
Thanks,
Haris
make a mistake that results in an unclosed LOOP, I have to close and
re-open the data file because it becomes locked. The status line reads
"Transformations Pending", but running transformations only yield more
error messages telling me that a DO or a LOOP is not closed.
Is there a way to tell the program to ignore the error and discard the
pending transformatoins?
Also, I am not entirely sure what's wrong with the LOOP itself. Below
is a part of it that sometimes works and sometimes does not. I used a
"DO IF ... ELSE IF" sequence and eventualy had to resort to single DO
IF within a loop. Can LOOP handle multiple ELSE IF structure?
VECTOR D=Dble3 TO Dble13 .
LOOP #I = 1 TO 11 .
- DO IF Stage = 4 .
+ DO IF RTime = #I+2 .
+ COMP D(#I) = 1 .
+ END IF .
- END IF .
END LOOP
EXE .
Thanks,
Haris