|
treenode thelist = getvarnode(current,"componentlist");! ~/ |" J9 h$ O' ^5 F! M! ?
treenode thesum = getvarnode(current,"targetcomponentsum");
`2 ]% d6 R4 F, q. Q1 `/ y, ~/ D setnodenum(thesum,0);
5 [( W7 c5 p3 T9 u4 t
* g4 K! R7 Z1 B1 y# s {
7 v: `& G( b9 @' ]0 C: _ setnodenum(cellrowcolumn(thelist,1,1),getlabelnum(first(current),"1"));
) g7 Q/ W2 c: e9 L8 t3 h inc(thesum,getlabelnum(first(current),"1"));8 C0 S7 N7 M' c& b% i8 M2 k) @1 U
setnodenum(cellrowcolumn(thelist,2,1),getlabelnum(first(current),"2"));
. F2 y' H4 s6 G, b: T inc(thesum,getlabelnum(first(current),"2"));3 w9 ^& a9 h% }) H$ {( C) {
setnodenum(cellrowcolumn(thelist,3,1),getlabelnum(first(current),"3"));
! y# O- T) N' [- e/ a6 `1 i$ u, C$ J* j inc(thesum,getlabelnum(first(current),"3"));
0 ]. Y( p; E3 ? setnodenum(cellrowcolumn(thelist,4,1),getlabelnum(first(current),"4"));# Z R5 H$ C7 S4 o7 P/ d3 S9 ?6 @# t
inc(thesum,getlabelnum(first(current),"4"));
/ p0 ^1 @8 R; e$ x+ [0 z }
, B: @1 o9 d# ?8 \$ i} |
|