program helloworld (output);

(* helloworld: a minimal Pascal program to test that your compiler works

  Thomas D. Schneider, Ph.D.
  National Institutes of Health
  National Cancer Institute
  Gene Regulation and Chromosome Biology Laboratory
  Molecular Information Theory Group
  Frederick, Maryland  21702-1201
  schneidt@mail.nih.gov
  toms@alum.mit.edu (permanent)
  http://alum.mit.edu/www/toms (permanent)

 *)

const
(* begin module version *)
   version = 1.01; (* of helloworld.p 2011 Aug 10
2011 Aug 10, 1.01: add full documentation
2005 Sep 15, 1.00: origin (or earlier)
*)
(* end module version *)

(* begin module describe.helloworld *)
(*
name
   helloworld: a minimal Pascal program to test that your compiler works

synopsis
   helloworld(output: out)

files

   output: messages to the user

description

   The helloworld program is a tiny program you can use to test your
   Pascal compiler.  After compiling the program, run it and it should output:

hello world

   If you cannot get this result, then you need to work on making the
   compiler function.

examples

documentation

see also

author

   Thomas Dana Schneider

bugs

technical notes

*)
(* end module describe.helloworld *)

begin
(* this is the only functional line of the entire program! *)
writeln(output,'hello world');
end.
