Hello, everyone!
there is a set defined as:
set i /0*10/;
i(“9”)=no;
there is a error:
Assigning to this set is NOT allowed. The set may have been
used in a domain definition or is a predefined/readonly set.
how to set No. 9 elemet “NO”?
Regards,
LUO
\
Your question is not clear why you want to set i(9)=no.
Based on my guess, please refer to the following codes:
set i /0*10/;
set j(i);
j(i)=yes;
j(i)$(ord(i)=10)=no;
display i, j;
Marshal
On Apr 2, 3:09 am, xiaochuan luo wrote:
Hello, everyone!
there is a set defined as:
set i /0*10/;
i(“9”)=no;
there is a error:
Assigning to this set is NOT allowed. The set may have been
used in a domain definition or is a predefined/readonly set.
how to set No. 9 elemet “NO”?
Regards,
LUO
\