⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 declare_program.adb.npp

📁 This contains the following topics and more ADA versus C and Cplus plus Ada_training ADA 2005 for
💻 NPP
字号:
with Text_IO; use Text_IO;procedure declare_program is   a : Integer := 99;   b : Integer := 1;    j : Integer := -99;   package int_io is new Text_IO.Integer_IO (Integer);   -- package instantiation    procedure add (x : in out Integer; y : in Integer) is  -- procedure      i : Integer := 10;       j : Integer := 10;   begin      x := x + y;      Text_IO.Put_Line ("Value of j is = ");      declare         k : Integer := 50;      begin         Text_IO.Put ("Value of k is = ");         int_io.Put (k);         text_io.new_line;      end;      int_io.Put (declare_program.j);   end add;begin   add (a, b);   Text_IO.Put ("Value of a is = ");   int_io.Put (a);   --   Text_IO.Put_Line ("Value of i is = ");   --  int_io.Put (i);end;

⌨️ 快捷键说明

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