Iptscrae to Python help wanted.

B

Bluexcell

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:[email protected]

regards Incony
 
J

Josiah Carlson

I have never seen Iptscrae, but if I wanted to do an infinite loop in
Python, I'd use

while 1:
#body

- Josiah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,183
Messages
2,570,968
Members
47,518
Latest member
TobiasAxf

Latest Threads

Top