Ver Mensaje Individual
  #6  
Antiguo 30-07-2007
camambrini camambrini is offline
Miembro
 
Registrado: ene 2004
Ubicación: San Miguel de tuc.
Posts: 21
Reputación: 0
camambrini Va por buen camino
Smile assignfile

ok en 1º er lugar quiero agradeser la pronta repuesta y 2º quiero disculpame pues copie un bloque del programa que estava en proceso de modificacion y esta por ende no tiene sentido
el codi real es:

type
registro = record
salida : array[1..8]of integer;
clav1:string[30];
clav2:string[30];
saludo:string[30];
menu: array [1..8]of string[50];
articulo:array[1..8]of string[30];
ring:integer;
end;

procedure TForm1.Button1Click(Sender: TObject);
var reg:registro;
arch:file of registro;
begin
assignfile(arch,'c:\domo\config.dat');
reset(arch);
read(arch,reg);
end;

el error se produce en assignfile y el error es:
[Error] domo.pas(208): There is no overloaded version of 'AssignFile' that can be called with these arguments
__________________
CAM
Responder Con Cita