logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
andreasrothe  
#1 Posted : Saturday, July 2, 2005 10:40:16 AM(UTC)
andreasrothe

Rank: Member

Groups: Registered, Registered Users
Joined: 6/25/2005(UTC)
Posts: 27

Anybody have any code that will execute a particular function only once? This is what I am trying to do: seeing that the Conditions-box (under symbols as well as alerts) is really the 'programming' section, how can I get a particular function to be called only once? E.g. if(var1=0, fml(firsttime),fml(othertimes)) Normally one would do that with a flag or something like that, but when I try and use a variable like this, I must first initialise the variable, which defeats the purpose. :roll: Can one specify more than one 'command' in a true-section of an if-statement? E.g. if(a>b,true-command1 true-command2 true-command3,false-command1 false-command2 false-command3).
wabbit  
#2 Posted : Saturday, July 2, 2005 11:50:25 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Have a look at how to use latches: http://forum.equis.com/viewtopic.php?p=2487#2487 wabbit :D
Patrick  
#3 Posted : Tuesday, July 5, 2005 6:02:45 AM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Now also available is Lesson 4 in Fromula Training
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.