Page 1 of 1

Concat Vectors

Posted: Fri Jan 08, 2010 5:09 pm
by Camila
I am trying to define a variable with 4 subscripts in which the first input is another variable and the others are numbers, something like this:

X[Subscripts]=(Y, 1, 2, 3)

Is it possible?

Posted: Sat Jan 09, 2010 11:39 am
by bob@vensim.com
you will need to use

sub : s1,sconst
sconst: s2,s3,s4

x[s1] = y
x[sconst] = 1,2,3

[Edited on 5-2-2010 by Administrator]