Announcement

Collapse
No announcement yet.

Ending a EFS program

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ending a EFS program

    If I want to end a EFS program after it runs once, what do I need to write in the script?

    Thanks,
    Robin L

  • #2
    At the start of the main():
    PHP Code:
    If  (nDone == 1)
        return;
    if (
    getCurrentBarIndex() == 0)
       
    nDone 1
    where nDone is a local global (ie: one defined outside of any function).

    Garth
    Garth

    Comment


    • #3
      Oh and of course nDone is initialized as 0, or at least none 1.

      G
      Garth

      Comment

      Working...
      X