Difference between revisions of "Pascal"

From Computer History Wiki
Jump to: navigation, search
m (ops, indentation error.)
(Adding a bit more info)
Line 1: Line 1:
Pascal was a intermediate language which had some popularity in the 1980's.  The language was written by Niklaus Wirth.
+
Pascal was a strong-typed, structured language which had some popularity in the 1980s, although it lives on in various forms today (e.g. [[Delphi]]).  The language was written by Niklaus Wirth in 1968-1969. It was originally designed for teaching purposes and was lacking in some areas, it was for example not possible to write a function which could receive variable length arrays or -strings as parameters. Thus a plethora of variant implementations of Pascal followed which all improved on the original Wirth design, however not necessarily in a compatible way.
  
 
== Hello world ==
 
== Hello world ==

Revision as of 14:24, 28 December 2012

Pascal was a strong-typed, structured language which had some popularity in the 1980s, although it lives on in various forms today (e.g. Delphi). The language was written by Niklaus Wirth in 1968-1969. It was originally designed for teaching purposes and was lacking in some areas, it was for example not possible to write a function which could receive variable length arrays or -strings as parameters. Thus a plethora of variant implementations of Pascal followed which all improved on the original Wirth design, however not necessarily in a compatible way.

Hello world

program hello;
begin
  writeln('hello world');
end.

Compilers

  • Turbo Pascal


Notes

The old Turbo Pascal 5.5 is now freely available here.