is
" c8 k9 k, }( [ m,n:integer; }% q7 c3 |; W3 R/ R u3 W
name:string;
$ o$ e' F* m# f% B obj:object;
; G, ?4 W1 N0 Ido
& l4 m: f- m2 Q$ W! j5 k7 v m:=str_to_num(omit(?.name,1,5));! @% \& M2 \- W( R
name:=sprint("output_line",m);
: l( c( J7 e$ j obj:=str_to_obj(name);
( b5 l% y. l+ Q3 | obj.val:=?.statnumin;9 C& S- I% @: {1 v6 c
if m>1 then
, j) c5 R( y, ~! e4 E% c name:=sprint("outrate_line",m);
0 x# o' ]- m) M/ h3 e obj:=str_to_obj(name);# _$ _, R6 e) a u8 s" @1 |! P
obj.val:=n*100/output_line1;
% U0 t: y8 A6 j end;3 M( D* L* O' r/ N, X8 o# I. `
end;
/ p% k; ~9 p# u# R9 f8 o+ u! }我是抄书上的源代码,但是在我的软件上运行错误,提示的是
& d4 A$ e8 X- G8 v: ]# W+ {& oError in method '.DOE_Sim.SingleLine.CalOutPut' in line 8: 'output_line1' is not a valid path.+ y- B# Q8 }( h6 {* e- ]* ?4 K l
实在不知道怎么办了,新手求助 |