- CobolScript
-
In computer programming, CobolScript is a COBOL-based scripting language. CobolScript has syntax familiar to COBOL programmers and is used for data conversion, batch interfaces, and server-side scripting. It has versions for Microsoft Windows, Linux, SunOS and FreeBSD.
Matt Dean is one of CobolScript's creators.
Hello, world
The following program produces the HTML of a very simple web page, and can be run on a web server (standard output is redirected to the web browser).
* "Hello world" program * DISPLAY `Content-type: text/html`. DISPLAY LINEFEED. DISPLAY `<HTML><BODY>`. DISPLAY `<CENTER>Hello World</CENTER>`. DISPLAY `</BODY></HTML>`.
By default, CobolScript uses the grave accent to delimit strings (although this can be changed using command-line options).[1]
External links
- http://cobolscript.googlepages.com/cobolscript – the new CobolScript website.
- http://cobolscript.googlepages.com/cbmanual.pdf – the CobolScript reference manual.
- http://groups.google.com/group/cobolscript – CobolScript on Google Groups.
References
- ^ CobolScript reference manual, page 23, The CobolScript String Delimiter: “In CobolScript ... the default string delimiter is the Gravè accent”.
Categories:- Scripting languages
- COBOL
- Programming language topic stubs
Wikimedia Foundation. 2010.