📄 simple_cat.adb.npp
字号:
with Ada.Text_IO; use Ada.Text_IO;procedure Simple_Cat is name : String (1 .. 20); --Current character last : Natural; -- can only contain natural integersbegin while not End_Of_File loop --For each Line while not End_Of_Line loop --For each character --Get (Ch); --Put_line(Ch); --Read / Write character Get_Line (name, last); Put_Line (name(1 .. last)); end loop; Skip_Line; New_Line; --Next line / new line end loop;end Simple_Cat;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -