|
发表于 2016-4-22 18:25:24
|
显示全部楼层
highflyer 发表于 2010-4-7 08:11 7 o3 b; l: y% p4 p j3 M5 c! K$ B
非常感谢,现在弄明白了 3# PINOCCHIO
* w% @. V3 B1 ^ A你好 你的问题是怎么解决的 求大神帮忙, t! S: i$ `# ^0 R+ \2 n+ q
我的显示: VOID 无法接受方法“name”
$ ~. |$ V& X% v3 l; Z( Zis
2 u6 M! N$ L+ E6 x3 n$ T num_1_1:integer;
# Q% x: M0 A& e$ V+ w, j0 _9 u num_1_2:integer;
( Y, s. w+ [0 V$ F num_1_3:integer;
5 c2 O, o: I! W+ X: i
9 l. @9 y$ X6 o% T( rdo# J# k2 }5 p9 \! e' |
inspect @.Name' e7 J( k' E8 \% S
when "Part_1_1" then$ n/ }% g6 f4 e# _; {. m
num_1_1:=num_1_1+1;
! Q$ _7 d5 c; o8 W* F when "Part_1_2" then
/ U& k( F: b7 U7 _8 `$ @- t num_1_2:=num_1_2+1;
$ x* h) `" D9 i7 e2 ]& J4 ~ else* z' C+ ^! V$ Y% l2 L: b0 A
num_1_3:=num_1_3+1;
! h6 X! y6 m6 z! R5 [: n end;3 z& Y2 c$ e0 o! w
* Z6 T# O7 h8 v2 u8 ]) `end;% R' ~, m! `$ j% a9 Z' u; j
+ { g" r5 e& R; @2 L7 B" W6 k, c |
|