is7 o& F. c m, f/ _$ P: l% ?
m,n:integer;) X0 n* s/ f& k3 U& a7 G
name:string;5 n% J2 \5 j/ B+ X
obj:object;
+ x5 y, G% f! d. pdo
5 S! ]# e* f- g' ?/ C0 k m:=str_to_num(omit(?.name,1,5));
" I% q& h( { v1 ~ V name:=sprint("output_line",m);+ b) u4 M* P" H1 V4 z, G& h
obj:=str_to_obj(name);
& F A5 E& K3 j obj.val:=?.statnumin;
6 a D, Z: H5 o! p if m>1 then& P; c8 ^5 z9 B& t6 G1 n4 C
name:=sprint("outrate_line",m);
3 C( F9 d, Y8 }: l* K obj:=str_to_obj(name);6 t) i9 k5 m+ Z. q
obj.val:=n*100/output_line1;
T3 B! c' ?, B4 R; ~ end;
& `+ I' c7 R" u' [end;
# {6 g- A$ Y; j我是抄书上的源代码,但是在我的软件上运行错误,提示的是( K% R/ j' C& |* k% W; r1 K* A+ S
Error in method '.DOE_Sim.SingleLine.CalOutPut' in line 8: 'output_line1' is not a valid path.
( N$ Z$ K, d0 I1 Q0 s/ j8 B 实在不知道怎么办了,新手求助 |