News flash: I'm going to Australia in February, so this Web site may be switched off at any time.
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
procedure
'' and ends with the word ``end
''.
main
'', and that procedure is where execution starts.
write
'' procedure, which writes its arguments to
the standard output stream.
write
'' procedure,
a string constant enclosed in double-quote ("
)
characters.
john@nmt.edu