@与?.cont有什么区别?我建了个小模型,有一步是将buffer的entity移到drain,drain的入口控制根据不同entity的名字用全局变量计数。程序是 if buffer.nummu=10 then if buffer.nummu=10 then 6 Z3 t, [2 p- {; O' V3 Ifor i:=1 to 10 loop for i:=1 to 10 loop 7 @6 e: N5 `. Z9 q0 P4 m3 g a* y, w@.move(drain); ?.cont.move(drain);: ~0 z& B) y7 W
next; next;8 U, G1 G* G1 d- F* y8 v
end; end;( R Y9 D- E& k: D; c
end; end; 0 J" }5 f0 Y: `8 D; @用@的时候,结果是正确结果的10倍,而用?.cont结果是正确的。" q* ?* S* O: ?. P+ }. P
请问下这个区别在哪里?, O: U6 l$ W4 a
end;