Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[OPAL] Is there a command use to break out of an infinite loop module?

0 views
Skip to first unread message

st...@elroy.uh.edu

unread,
May 27, 1994, 2:58:00 PM5/27/94
to
I am implementing a module that runs in real time and in an infinite loop. Is
there a OPAL syntax that allow me to break out of this loop when certain
condition occurs, something like a "break" command in C?

Thanks

Qui

Kuo-Sheng (Kasey) Chang

unread,
May 28, 1994, 1:05:50 AM5/28/94
to
st...@elroy.uh.edu wrote:
: I am implementing a module that runs in real time and in an infinite loop. Is

: there a OPAL syntax that allow me to break out of this loop when certain
: condition occurs, something like a "break" command in C?

I think there's a "quitloop" command in there.

--Kasey Chang

Joel Friedman

unread,
May 31, 1994, 7:45:20 AM5/31/94
to
If the code is in a function, have you tried "return"?

---
====================================================================
|
_/ _/_/_/ _/_/_/ _/ | Joel Friedman (consultant)
_/ _/ _/ _/ _/ |
_/ _/ _/ _/_/ _/ | - "If you've got a solution, let me
_/ _/ _/ _/ _/ _/ | find the problem."
_/_/ _/_/_/ _/_/_/ _/_/_/ |
| W: (202) 752-2210
====================================================================

0 new messages