use_of_exit.adb.npp

来自「This contains the following topics and m」· NPP 代码 · 共 19 行

NPP
19
字号
with Ada.Text_Io;use Ada.Text_Io;procedure use_of_exit isCount : Integer; --count as Integer object   --Count_To : constant Integer := 10; --integer constant   Count_To : Integer := 10; --integer constantbeginCount := 1;loopPut( Integer'Image( Count ) );exit when Count = Count_To; --Exit loop when ...   Count := Count + 1;end loop;   New_Line;   put("hai");end;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?