|
treenode thelist = getvarnode(current,"componentlist");3 }% j1 J' X8 j9 P7 h7 ]# l! e" W
treenode thesum = getvarnode(current,"targetcomponentsum");
/ A5 }; W+ |& f' ^; L! c setnodenum(thesum,0);
9 X/ B5 s# R" k+ z( E3 R* _% f( R1 D& {
{
, [- {4 A$ ~+ Q. e% A% ~3 a- g& s( V setnodenum(cellrowcolumn(thelist,1,1),getlabelnum(first(current),"1"));/ v: @* M* K# J9 i0 t
inc(thesum,getlabelnum(first(current),"1"));
2 ~4 ^) z0 @& X9 ~+ k setnodenum(cellrowcolumn(thelist,2,1),getlabelnum(first(current),"2"));2 e7 N4 Q+ F# {9 H; ]
inc(thesum,getlabelnum(first(current),"2"));
, O% U- u! v$ K/ u setnodenum(cellrowcolumn(thelist,3,1),getlabelnum(first(current),"3"));
8 e% n. }3 n, }6 \6 V inc(thesum,getlabelnum(first(current),"3"));
/ f$ P) j( g" G& w X* ]' p( H setnodenum(cellrowcolumn(thelist,4,1),getlabelnum(first(current),"4"));
( X5 O( H% G. [: |8 q2 M inc(thesum,getlabelnum(first(current),"4"));
- Y/ u' H: q! ]0 ^ n- `, d5 l2 j }
% @. e5 e J$ e/ a! v7 x( {& h- w} |
|