         Edinburgh IMP77 Compiler - Version 8.4

    1  %begin
    2    %integer arg
    3    print string("Argc = "); write(argc, 0); newline
    4    %for arg = 0, 1, argc+1 {deliberate bug. should be -1} %cycle
    5      print string("Argv(")
    6      write(arg, 0)
    7      print string(") = """)
    8      print string(argv(arg))
    9      print symbol('"')
   10      newline
   11    %repeat
   12  %endofprogram

   14 Statements compiled
