Hola... muchas gracias por tu respuesta... pero parece q por ahi no viene la mano... asi q lo q hice fue empezar a probar por porciones el codigo para ver a donde estaba el error... y resulta q aparece aqui:
Código Delphi
[-]
Setlength(arreglo_valor,tam - 1);
seek (aib1,tam);
for i:= 0 to tam - 1 do begin
seek(aib1, tam - 1);
read(aib1,info);
if valormax < strtofloat(info.valor) then
valormax := strtofloat(info.valor); arreglo_valor[i]:= strtofloat(info.valor);
end;
y bueno lo q hice fue cambiar por estas lineas de codigo y ya no me causa el error:
Código Delphi
[-]
Setlength(arreglo_valor,tam);
seek (aib1,tam);
pos := filepos(aib1); for i:= 0 to tam - 1 do begin
seek(aib1, pos - 1);
read(aib1,info);
if valormax < strtofloat(info.valor) then
valormax := strtofloat(info.valor); arreglo_valor[i]:= strtofloat(info.valor);
pos := filepos(aib1);
end;
Y ahora como dije ya no causa el error... pero no entiendo porq... será porq el tamaño del arreglo q estaba definiendo es menor q el tamaño q realmente necesitaba?
No se... la verdad ni idea... si alguien encuentra el motivo del error y su solucion voy a estar muy agradecido...
{Saludos}