Thanks for your reactions,
1. rvk flush(testtextfile) before closefile(testtextfile ) in the formclose did't improve the situation.
Wat i didn't mention before is, that just before writeln is used in the loop ,a memo is filled with the same string and that is complete and oke.
I did 3 test with the flush :
FDTXAxarr1[2543]= 21-11-2014 17:28:00;4,99607843137255
FDTXAxarr1[254
FDTXAxarr1[3053]= 24-11-2014 17:29:00;5,99803921568627
LAST on DAy FDTXAxarr1[3054]= 24-
FDTXAxarr1[8651]= 9-12-2014 17:28:00;16,9960784313725
FDTXAxarr1[8652]= 9-12-2014 17:29:00;16,9980392156863
LAST on
2. derek
indeed by assigning and closing the file in the xxxx- procedure the whole file is listed by writeln
3 . kpeters :the range of the dynamic arrays was set very ample
so the issue is solved although it makes me think why
thanks again
frederic