|
treenode thelist = getvarnode(current,"componentlist");
+ T: b' K& j( g8 u5 F$ @) I treenode thesum = getvarnode(current,"targetcomponentsum");' f" w, H7 v7 y& o# b& c7 k
setnodenum(thesum,0);$ F# F6 o" e: M! ]9 C
) G0 s9 C% }' }* X' |# {
{: \. T# n- S- Y9 A" y
setnodenum(cellrowcolumn(thelist,1,1),getlabelnum(first(current),"1"));- e) E, m4 i, v4 e# j/ R
inc(thesum,getlabelnum(first(current),"1"));) h& T- U# i1 i. F& i0 s* v
setnodenum(cellrowcolumn(thelist,2,1),getlabelnum(first(current),"2"));
6 M; S' X4 O$ N9 |. i% ?% }1 e inc(thesum,getlabelnum(first(current),"2"));
) X4 a7 o: I/ x8 }! t setnodenum(cellrowcolumn(thelist,3,1),getlabelnum(first(current),"3"));
* T% v3 @$ N1 W9 @3 _7 ^ inc(thesum,getlabelnum(first(current),"3"));# _; h: p2 X, ~$ ^
setnodenum(cellrowcolumn(thelist,4,1),getlabelnum(first(current),"4"));
7 V/ u! V& W H! l$ Y$ r inc(thesum,getlabelnum(first(current),"4"));
- h- `5 V# q8 c: M5 B }
+ U8 F5 \1 j" s) O} |
|