{                Pascal Validation Suite  Version 5.7                }
{                                                                    }
{          (C) Copyright 1982, British Standards Institution         }
{                                                                    }
{ TEST 6.9.4-1, FILE=CONF206, CLASS=CONFORMANCE, LEVEL=0             }
{                                                                    }
{:This program checks the implementation of procedure writeln.       }
{                                                                    }
{                                                                    }
{ Modification History :                                             }
{   V3.1: Program parameter removed.                                 }
{   V5.2: File header comments reformatted and file name added to    }
{         TEST line and output lines.                                }
{                                                                    }
{   modified for turbo compatible io using assign to init file       }
program CONF206(output);
var
   f:text;
   a,b:string[10] ;
   i:integer;
begin
   assign(f,'out206');
   rewrite(f);
   writeln(f,1:5,'ABCDE');
   write(f,1:5,'ABCDE');
   writeln(f);
   reset(f);
   for i:=1 to 10 do
      read(f,a[i]);
   readln(f);
   for i:=1 to 10 do
      read(f,b[i]);
   if (a=b) then
      writeln(' PASS...6.9.4-1 (CONF206)')
   else
      writeln(' FAIL...6.9.4-1 (CONF206)')
end.