Modula-3 - Hello You Program


Home

Author: Mark Carroll
Date: February 18, 1999
Info:
m3makefile:
  import("libm3")
  implementation("HelloYou")
  program("helloyou")

HelloYou.m3:
  MODULE HelloYou EXPORTS Main;
  IMPORT IO;
  BEGIN
    IO.Put("What is your name?\n");
    IO.Put("Hello " & IO.GetLine() & "\n");
  END HelloYou.

Home