Page 1 of 1
SWITCH(a,b,c) of DYNAMO II --> in VENSIM?
Posted: Mon May 29, 2006 8:58 pm
by thommyp
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
Posted: Mon May 29, 2006 9:12 pm
by Administrator
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.
Posted: Tue May 30, 2006 10:11 am
by bob@vensim.com
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)
Posted: Tue May 30, 2006 12:29 pm
by thommyp
Thanks a lot, I wasn't sure which argument is related to the true condition.