|
|
The topic of this article may not meet the general notability guideline. Please help to establish notability by adding reliable, secondary sources about the topic. If notability cannot be established, the article is likely to be merged, redirected, or deleted. (October 2011) |
| This article's references may not meet Wikipedia's guidelines for reliable sources. Please help by checking whether the references meet the criteria for reliable sources. (October 2011) |
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”.
| This programming language-related article is a stub. You can help Wikipedia by expanding it. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article CobolScript.