Iptscrae to Python help wanted.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bluexcell

    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 SETSPOTSTATELOC AL }
    { ME GETSPOTSTATE 0 + ME
    SETSPOTSTATELOC AL }
    ME GETSPOTSTATE 0 > IFELSE

    myroutine EXEC
    mynext routine EXEC
    ; etc
    0 ME SETALARM

    can anyone suggest the Python equivalent?

    mailto:incony@i ncony.org

    regards Incony

  • Josiah Carlson

    #2
    Re: Iptscrae to Python help wanted.

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

    while 1:
    #body

    - Josiah

    Comment

    Working...