|
treenode thelist = getvarnode(current,"componentlist"); D' I% v( @- J" J7 x
treenode thesum = getvarnode(current,"targetcomponentsum");
- W% O4 h# f' `% x. `8 T) _& M setnodenum(thesum,0);# T5 \1 Y, Q5 F8 e/ W9 E1 C
/ U5 N- [8 u$ S$ _. L6 r, K' c {, m/ J& k( \6 @) j
setnodenum(cellrowcolumn(thelist,1,1),getlabelnum(first(current),"1"));
! A' U y7 A! B inc(thesum,getlabelnum(first(current),"1"));
0 d$ C4 n" R+ Y# o) E4 x setnodenum(cellrowcolumn(thelist,2,1),getlabelnum(first(current),"2"));% W. r n6 a% y# A
inc(thesum,getlabelnum(first(current),"2"));
, @8 ?5 {8 I4 ^6 W7 b setnodenum(cellrowcolumn(thelist,3,1),getlabelnum(first(current),"3"));
* M o6 N7 \/ f+ b* q9 o inc(thesum,getlabelnum(first(current),"3"));
4 _& L( {4 X' B+ N# A4 l5 ^ setnodenum(cellrowcolumn(thelist,4,1),getlabelnum(first(current),"4"));
& }+ t+ I% ~) K. m6 k inc(thesum,getlabelnum(first(current),"4"));# P2 d! [: `; @- E
}/ z- x3 ?( c8 H- R. S
} |
|