468,133 Members | 1,240 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,133 developers. It's quick & easy.

Iptscrae to Python help wanted.

I want to create the Python equivalent of an endless loop that i use in
Iptscrae:

In Iptscrae one creates a dummy spotstate loop and places the calls to
routines inside that.. like this:

ON ENTER
{

0 ME SETALARM
}
ON ALARM
{ { 0 ME SETSPOTSTATELOCAL }
{ ME GETSPOTSTATE 0 + ME
SETSPOTSTATELOCAL }
ME GETSPOTSTATE 0 > IFELSE

myroutine EXEC
mynext routine EXEC
; etc
0 ME SETALARM

can anyone suggest the Python equivalent?

mailto:in****@incony.org

regards Incony

Jul 18 '05 #1
1 1354
I have never seen Iptscrae, but if I wanted to do an infinite loop in
Python, I'd use

while 1:
#body

- Josiah
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

220 posts views Thread by Brandon J. Van Every | last post: by
54 posts views Thread by Brandon J. Van Every | last post: by
699 posts views Thread by mike420 | last post: by
19 posts views Thread by KefX | last post: by
226 posts views Thread by Stephen C. Waterbury | last post: by
2 posts views Thread by mir nazim | last post: by
161 posts views Thread by KraftDiner | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.