本文整理自网络,侵删。
program ExitLoop;{$APPTYPE CONSOLE}label CN;begin for var i:=1 to 10 do begin for var l:=1 to 10 do begin Writeln(i, ',' , l); if (i = 5) and (l = 5) then goto CN; // goto end; end; CN: Writeln('Done.'); Readln;end.
相关阅读 >>
Delphi 能否把.txt文件的数据导入到access数据库中
更多相关阅读请进入《Delphi》频道 >>