is |( g8 `& ~: M( R/ j0 t5 q/ b3 h( y
m,n:integer;
) ]( m* f7 s8 S& N6 n' ^0 Z7 z, ^ name:string;
) T* m. w8 w$ c obj:object;
. m4 X. h O3 `& Pdo
% x" V9 Y V( q+ S m:=str_to_num(omit(?.name,1,5));
& H1 }) |. z! U5 t name:=sprint("output_line",m);4 ~% j, S' l. p( Q, h
obj:=str_to_obj(name);- @: f4 F/ w' @0 {* K0 I# h/ B: _' d
obj.val:=?.statnumin;
* g, W' B. Z6 o! u, e3 z1 S if m>1 then) z L: [; }8 B
name:=sprint("outrate_line",m);0 V H# E0 N$ z3 g% w
obj:=str_to_obj(name);
# u) ?' T7 V- s3 E# E( {) m obj.val:=n*100/output_line1;5 Y2 p3 q9 C* y4 v% z: z. F
end;
) s6 S2 B- \3 G m9 I( j$ bend;# M3 J% t0 q& m9 L' C* q
我是抄书上的源代码,但是在我的软件上运行错误,提示的是
; i3 r: ? n) }3 ^! xError in method '.DOE_Sim.SingleLine.CalOutPut' in line 8: 'output_line1' is not a valid path.5 Z. y) ~+ i4 v* n
实在不知道怎么办了,新手求助 |