test4.pl

来自「简单编译器的源代码,是大学课程设计内容,附简单测试用例」· PL 代码 · 共 22 行

PL
22
字号
$ PL Program test4 :不带作用域错误的测试程序。
begin
   integer x,y;
   proc output
     begin
       integer y;
       y:=100;
       write y;
     end;

   proc input
     begin
       read x;
     end;

   call input;
   y:=10*x;
   call output;
   write y; 

end.

⌨️ 快捷键说明

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