PL/I
跳转到导航
跳转到搜索
脚本错误:没有“Infobox”这个模块。脚本错误:没有“Check for unknown parameters”这个模块。 PL/I(脚本错误:没有“IPAc-en”这个模块。),源自編程語言一号(脚本错误:没有“Lang”这个模块。)的縮寫,一種过程式、指令式程式語言。由IBM公司在1960年代发明的第三代高级编程语言,用于IBM的脚本错误:没有“ilh”这个模块。、或迪吉多的VAX/VMS等操作系统中。 在系统软件,图像,仿真,文字处理,网络,商业软件等领域均可应用。
样例代码[编辑]
Hello world程序[编辑]
Hello2: proc options(main);
put list ('Hello, world!');
end Hello2;
查找字符串[编辑]
/* Read in a line, which contains a string,
/* and then print every subsequent line that contains that string. */
find_strings: procedure options (main);
declare pattern character (100) varying;
declare line character (100) varying;
declare line_no fixed binary;
on endfile (sysin) stop;
get edit (pattern) (L);
line_no = 1;
do forever;
get edit (line) (L);
if index(line, pattern) > 0 then
put skip list (line_no, line);
line_no = line_no + 1;
end;
end find_strings;
引用[编辑]
外部連結[编辑]
- Kednos PL/I for HP OpenVMS VAX and Alpha
- IBM PL/I for IBM大型主機,脚本错误:没有“ilh”这个模块。 and Windows
- PL/I Resources
- PL/I home
- PL/I newsletter April 2006
- Power vs. Adventure - PL/I and C(页面存档备份,存于互联网档案馆) A side-by-side comparison of PL/I and C。
- PL/I for GCC(页面存档备份,存于互联网档案馆) The pl1gcc project is an attempt to create a native PL/I compiler using the GNU Compiler Collection.
- Languages Related to PL/I
- Kednos PL/I for OpenVMS Compiler Documentation
- PL/I grammar(页面存档备份,存于互联网档案馆)
脚本错误:没有“Navbox”这个模块。