subscript constant as game variable

Use this forum to post Vensim related questions.
Post Reply
addor
Senior Member
Posts: 50
Joined: Mon Oct 27, 2003 9:45 am

subscript constant as game variable

Post by addor »

I would like to set a simple subscript constant with 10 entries as a game variable. In the Vensim Tutorial manual I read on page 111 that "you can convert any Auxiliary, Rate or Constant into a Game variable". But if I click on the drop-down arrow on the lower variable type box in the equation editor, I get only the selection "Normal" and "Tabbet Array". This is also valid if the variable is a single valued constant (and not a subscripted constant). What do I wrong?

Rgards, Peter
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

Choose type auxiliary, subtype game

If the constant equation has more than one value as in

const[country] = 1,2,3

then use the construct

game var[country] = GAME(const[country])
const[country] = 1,2,3

and replace const by game var everywhere it is used.
Post Reply