Ver Mensaje Individual
  #1  
Antiguo 28-11-2003
esquerda21 esquerda21 is offline
Miembro
 
Registrado: may 2003
Posts: 51
Reputación: 22
esquerda21 Va por buen camino
Error en Sizeof ayuda. 460

var dato: textfile;
res: integer;
procedure......
begin
assignfile(dato, 'c:\pro.txt');
reset(dato);
res:= SizeOf(dato);
label1.caption:= inttostr(res);
end;

Pues lea lo que lea en assign, el tamaño que la funcion (SizeOf)me devuelve siempre es 460.
Alguien me puede hechar una mano?
Gracias de antemano.
Responder Con Cita