News flash: I'm going to Australia in February, so this Web site may be switched off at any time.


Icon says hello

Here is the customary ``hello, world'' program in Icon. Using your favorite text editor, create a file named hello.icn and type these three lines in it:

    procedure main ()
      write ( "Yarrr, matey, bilge the yardarm!" );
    end

Next: Compiling and running an Icon program
See also: Using the Icon programming language
Previous: A tutorial for the Icon programming language

John W. Shipman, john@nmt.edu