Login or Sign Up
Logging in...
Remember me
Log in
Forgot password or user name?
or
Sign Up
Log in with
Search in titles only
Search in EFS Formula Wizard only
Search
Advanced Search
Forums
Articles
Groups
Member List
Forum
EFS Development
EFS Formula Wizard
Announcement
Collapse
No announcement yet.
Ending a EFS program
Collapse
X
Collapse
Posts
Latest Activity
Photos
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
ocean688i
Registered User
Join Date:
Jan 2004
Posts:
9
Share
Tweet
#1
Ending a EFS program
01-26-2004, 10:22 PM
If I want to end a EFS program after it runs once, what do I need to write in the script?
Thanks,
Robin L
gspiker
Registered User
Join Date:
Oct 2002
Posts:
1427
Share
Tweet
#2
01-26-2004, 10:35 PM
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
Post
Cancel
gspiker
Registered User
Join Date:
Oct 2002
Posts:
1427
Share
Tweet
#3
01-26-2004, 10:36 PM
Oh and of course nDone is initialized as 0, or at least none 1.
G
Garth
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment