# o8 u& B: Q! I, u8 _' I! g8 J啊没事了,我发现哪里出问题了。if后面少加了一个()。
7 n8 r, \- \9 ?- l这样子就可以实现了
- w; r9 i/ Y2 rtreenode item = parnode(1);
+ Z$ A& a+ P, J* \' o6 o4 [treenode current = ownerobject(c);' R# ~$ @/ G' U4 X
/**默认分解器选项*/* x5 T. i$ |. Z- _# V
if(getvarnum(current,"unpack"))
# `2 }4 [* o) H- Q6 o{
D. I2 }1 V2 {6 D/ {& X if(getrank(parnode(1)) == 1)6 H' @4 F& H9 F8 j1 f3 d3 ~
return 1;
4 \8 d% L: R+ a$ c+ z$ D else. P' L. B. P6 f0 L/ f# m: k
if (content(outobject(current, 2))<getvarnum(outobject(current, 2),"maxcontent"))0 b, F I. v% G4 V" {
return 2;2 Q8 x" X( h, ~2 r+ X- v
if (content(outobject(current, 2))==getvarnum(outobject(current, 2),"maxcontent"))5 o ~& c7 ^3 p$ g1 L5 F
return 3;. o3 Z: i6 @. @" Y$ R
} ]3 o7 I- L+ l+ l; o `- B
else8 o, _. Z; F* G/ `+ b' w5 I- w- I
return 0; |