1 set k /k1,k2/;
2
3 parameter p(k);
4
5 p(k) = ifthen(sameas(k,'k1'),1,2);
**** $201
**** 201 Invalid argument for function
6
7 display p;
Work-around: use 1$sameas(k,'k1'). Note that if() allows a condition like this.
No comments:
Post a Comment