CobolScript

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

References

  1. ^ CobolScript reference manual, page 23, The CobolScript String Delimiter: “In CobolScript ... the default string delimiter is the Gravè accent”.

Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • COBOL — For other uses, see COBOL (disambiguation). COBOL LANGUAGE Paradigm(s) procedural, object oriented Appeared in 1959 (1959) Designed by Grace Hopper, William Selden, Gertrude Tierney, Howard Bromberg, Howard Discount, Vernon Reeves, Jean E.… …   Wikipedia

  • List of programming languages — Programming language lists Alphabetical Categorical Chronological Generational The aim of this list of programming languages is to include all notable programming languages in existence, both those in current use and historical ones, in… …   Wikipedia

  • Liste des langages de programmation — Le but de cette Liste des langages de programmation est d inclure tous les langages de programmation existants, qu ils soient actuellement utilisés ou historiques, par ordre alphabétique. Ne sont pas listés ici les langages informatiques de… …   Wikipédia en Français

  • Список языков программирования — Списки языков программирования Алфавитный По категориям Хронологический Генеалогический Цель этого алфавитного списка языков программирования состоит в том, чтобы дать полный перечень всех существующих языков программирования, как используемых в… …   Википедия

  • Кобол — Класс языка: процедурный, объектно ориентированный Появился в: 1959 Автор(ы): Грейс Хоппер, Вильям Селден, Гертруда Тирни, Говард Бромберг, Говард Дискаунт, Вернон Ривз, Жан Е. Саммет Типизация данных …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”