CobolScript

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire

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

References

  1. ^ CobolScript reference manual, page 23, The CobolScript String Delimiter: “In CobolScript ... the default string delimiter is the Gravè accent, or just plain accent ( ` ). ... CobolScript also has command line options to permit the use of the single or double quote as the string delimiter...”


This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net