' v8 ]2 {' L) S+ t' t. h啊没事了,我发现哪里出问题了。if后面少加了一个()。
) p: O8 [2 H: f. R这样子就可以实现了7 R$ e: M" V' `' G/ y, t8 G
treenode item = parnode(1);. M1 _* e" A5 n
treenode current = ownerobject(c);
. @' j. }( v2 X( }9 ~/**默认分解器选项*/
2 i' Y5 u) Z" X6 Z' H# k% Kif(getvarnum(current,"unpack"))
6 ?. H# s3 t8 U& x% a( S/ V{
/ Y7 K0 ]5 m) f/ Q. k if(getrank(parnode(1)) == 1)8 @) m! r; j$ l1 u2 z1 @) S
return 1;
' t8 U' L, h M else
: p+ z. L5 r8 ]7 S0 w4 ~. n if (content(outobject(current, 2))<getvarnum(outobject(current, 2),"maxcontent"))* c7 b$ R A' o E: B6 @4 k
return 2;. i6 Z3 H, ?6 ]! K1 b
if (content(outobject(current, 2))==getvarnum(outobject(current, 2),"maxcontent"))! U$ i, A5 L0 Q1 u1 \5 C2 j. O
return 3;( N& l) M* K9 Z: o2 y5 R5 c
}
4 z* _. v9 {; o+ Felse
& h+ A5 E( Y* `4 e# v. B return 0; |