% T7 W* }( G- \/ I# c啊没事了,我发现哪里出问题了。if后面少加了一个()。4 l" w4 M/ H( \3 d, q8 q$ ?* O
这样子就可以实现了
; W5 w- k: A: V; ntreenode item = parnode(1);
3 ^7 l2 v0 \* R8 g' M' ptreenode current = ownerobject(c);
. m, F6 x, f# t: h- T3 W+ f/**默认分解器选项*/
, J2 K, K# z- ?2 A& e S* ^( n3 G4 p% }if(getvarnum(current,"unpack"))1 z4 f$ i; h9 V' @. ~' B3 j
{( g. W/ L f- q: Z* U! M
if(getrank(parnode(1)) == 1)
5 { u C! @! D return 1;
7 c& {3 C$ r5 n, n$ Y, d0 _ else
& I/ f- P/ S' w" l$ M. E if (content(outobject(current, 2))<getvarnum(outobject(current, 2),"maxcontent"))
& e9 ?1 I+ N6 [7 [ return 2;) U9 C! W5 ~1 A" m+ Y
if (content(outobject(current, 2))==getvarnum(outobject(current, 2),"maxcontent"))9 k+ [" _- ]1 {/ t r9 [4 n. g
return 3;. V0 n" U7 e' ^/ R
}
1 O3 h* V+ }, Y. @& h0 l1 m; {. N. welse, |' |- x/ s# a" s4 n# h9 c: @
return 0; |