Mrb arkadaşlar misal romen rakamına cevirme kodu

Kod:
function LongToRoman( LI: LongInt ): String; const Nummers: Array[1..13] of Integer = ( 1, 4, 5, 9, 10, 40, 50, 90, 100, 400, 500, 900, 1000); Romeins: Array[1..13] of string = ( 'I', 'IV', 'V', 'IX', 'X', 'XL', 'L', 'XC', 'C', 'CD', 'D', 'CM', 'M' ); var i: Integer; begin Result := ''; for i := 13 downto 1 do while ( LI >= Nummers[i] ) do begin LI := LI - Nummers[i]; Result := Result + Romeins[i]; end; end; //orn. procedure TForm1.Button1Click(Sender: TObject); begin Label1.Caption:=LongToRoman(2003); end;
New Unit diyorum acıyorum sayfaya cift tıklıyorum icerisindeki kodları siliyorum ve yukarıda verdiğim code yi yapıştırıyorum hata veriyor ne yapabilirim calıştırmak icin ?

Verdiği hata Error in module Unit2eclaration of class TForm2 is missing or correct ?
__________________