What's wrong with this .pas please help - grabar.pas (1/1)

You've declared a procedure, but it ends with the end of a main program..
So Pascal expects a ; after the last end.
And then you don't have a main program.

So it should be like this:

program grabar_registros
<...>
procedure listado (..);
begin
  <...>
end;

begin
   {call the procedure for example}
end.

"Krycek" <electro...@geocities.com> schreef in bericht
news:rs20ft81479f0vfiktl40o2qhct225bqnt@4ax.com...