Function Tform1.getCPGRID_DIMENSION(sFile : String) : Boolean;
label END_OF_LOCATE;
var
s:string;
beginif ....thengoto END_OF_LOCATE;END_OF_LOCATE:
beginend;
end;标号的语句段内用加begin..end;吗?
我的总出错
[Error] Unit1.pas(49): Label declared and referenced, but not set: 'END_OF_LOCATE'
[Error] Unit1.pas(143): Declaration expected but identifier 'END_OF_LOCATE' found还有一个:
在同一unit内函数a调用函数b定义的位置有哪些要求吗?
我声明了,但总说没有声明啊
label END_OF_LOCATE;
var
s:string;
beginif ....thengoto END_OF_LOCATE;END_OF_LOCATE:
beginend;
end;标号的语句段内用加begin..end;吗?
我的总出错
[Error] Unit1.pas(49): Label declared and referenced, but not set: 'END_OF_LOCATE'
[Error] Unit1.pas(143): Declaration expected but identifier 'END_OF_LOCATE' found还有一个:
在同一unit内函数a调用函数b定义的位置有哪些要求吗?
我声明了,但总说没有声明啊
解决方案 »
- cxgrid 数据更新 触发器 出错
- combox中下拉列表中如何显示多列数据(从数据库中读取)
- 短信应用开发中的问题
- 请问这个错误:(EOleException)超时已过期 是什么意思?
- 求助:在线等待,关于sql编程
- 呵呵,以前一直没有注意的问题,今天发现了,不过不知道怎么解决,知道的人过来发两句言,关于TreeView的
- 初级问题,帮帮忙!
- 菜鸟问题8
- 想不通,not times=1 与 times<>1 有何区别???????????????????????
- 有谁知道Wwindows优化大师的标题栏上有了什么探件啊,我好想知道!!!!!!!!!!
- 关于树的一个简单的问题~~~帮助一下~
- 讨论,delphi还有没有前途了,delphi的方向在哪里
var
s: string;
label
END_OF_LOCATE;
begin if s <> '1' then
goto END_OF_LOCATE; END_OF_LOCATE:
begin
showmessage('ok');
end;
end;