Use this forum to post Vensim related questions.
thommyp
Junior Member
Posts: 5 Joined: Tue May 02, 2006 4:56 pm
Post
by thommyp » Mon May 29, 2006 8:58 pm
HI,
can anyone tell me what would be the Vensim equivalent to a DynamoII SWITCH() Function. Explain me how it functions?
Thanks a lot
Cheers
Thomas
Administrator
Super Administrator
Posts: 4827 Joined: Wed Mar 05, 2003 3:10 am
Post
by Administrator » Mon May 29, 2006 9:12 pm
I have no experience of Dynamo, but if you can tell me what the function does, I can probably tell you how to do it in Vensim.
Tony.
bob@vensim.com
Senior Member
Posts: 1107 Joined: Wed Mar 12, 2003 2:46 pm
Post
by bob@vensim.com » Tue May 30, 2006 10:11 am
SWITCH is the same as the dynamo function FIFZE (FIrst IF ZEro) which is the same as IF THEN ELSE except that the second and third arguments are reversed - that is
SWITCH(a,b,c) matches to IF THEN ELSE(a,c,b)
thommyp
Junior Member
Posts: 5 Joined: Tue May 02, 2006 4:56 pm
Post
by thommyp » Tue May 30, 2006 12:29 pm
Thanks a lot, I wasn't sure which argument is related to the true condition.