Page 1 of 1

How to end a loop?

Posted: Tue Aug 09, 2011 8:01 am
by chasequestion
For example in such a loop
for !i=1 to 10 step 1
xxxxxxxx
next

I need to jump out of the loop in the middle (say !i=3 or when some circumstance is met) , how should I do?
For example, we have "continue" and "break" to end the loop in C++; what is the counterpart command in Eviews?
Thanks very much!

Re: How to end a loop?

Posted: Tue Aug 09, 2011 8:07 am
by EViews Gareth
exitloop

Re: How to end a loop?

Posted: Fri Sep 30, 2011 12:14 am
by stevecsp
Hi, eviews.

So I know the "exitloop" is similar to "break" a loop
But what about "continue" a loop just as in C++? How can I do that in Eviews(6.0)?
Thank you very much.

How to end a loop?

Posted: Fri Sep 30, 2011 6:38 am
by EViews Gareth
There isn't one :(