|
treenode thelist = getvarnode(current,"componentlist");0 V; d4 F* i, _0 T! V
treenode thesum = getvarnode(current,"targetcomponentsum");
- b2 U* |! O7 H& U6 u/ p setnodenum(thesum,0); ^5 S {- [$ k% d& ~
& I W8 @6 u% t' _) H# r% H {8 I- B4 N1 t/ Z" k; T. K
setnodenum(cellrowcolumn(thelist,1,1),getlabelnum(first(current),"1"));% _: f; q3 h7 l! M+ y$ S7 z& _! r& k
inc(thesum,getlabelnum(first(current),"1"));" ]- o3 @9 n7 c" N: r+ T
setnodenum(cellrowcolumn(thelist,2,1),getlabelnum(first(current),"2"));- k' b G8 D9 @ L9 }+ s
inc(thesum,getlabelnum(first(current),"2"));9 C5 K* g. v4 K' e
setnodenum(cellrowcolumn(thelist,3,1),getlabelnum(first(current),"3")); D; ^7 {2 m4 z/ s6 f
inc(thesum,getlabelnum(first(current),"3"));
2 P: j2 V: Z, T4 {7 B' f0 g# } setnodenum(cellrowcolumn(thelist,4,1),getlabelnum(first(current),"4"));
# s( S. c0 R& b inc(thesum,getlabelnum(first(current),"4"));
; Y0 ~' Z; h8 ~9 M/ n }# e+ F3 Q9 B$ E9 L+ W, n) i: ~
} |
|