Autor Beitrag
cherry
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 136

WinXP - Professional
RAD Studio 2009
BeitragVerfasst: Do 07.04.05 13:00 
Hallo..

Der Titel sagt eigentlich schon alles aus,
ich möchte wissen wie ich die Anzahl zeichen einer Txt.Datei herausfinde
ohne diese vorher ganz einzulessen !

Bitte auch um Antwort wenn das nicht möglich ist.

:shock: THX :shock:
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Do 07.04.05 13:07 
ungetestet, könnte und müsste so funktionieren ;P

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
var f: file of byte;
    anzahl: integer;
    filename: string;
begin
  assignfile(f,filename);
  reset(f);
  anzahl := filesize(f);
  closefile(f);
end;

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
cherry Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 136

WinXP - Professional
RAD Studio 2009
BeitragVerfasst: Do 07.04.05 13:57 
Funktioniert prima...

Tausend Dank !!!!!!!!!
Cheers Cherry