本文整理自网络,侵删。
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.
相关阅读 >>
Delphi2010获取鼠标指向窗口的位置及鼠标在窗口内的相对位置坐标
Delphi firemonkey处理图形的方式与vcl处理图形的方式大不相同
更多相关阅读请进入《Delphi》频道 >>