Autor Beitrag
ebs
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 213

Suse Linux 9.2, Win 98, Win NT, Win XP, Win for Workgroups, Win XP SP2, Dos 6.1
D3 Prof, D2005 PE, Delphi 2006 Prof.
BeitragVerfasst: Mo 28.11.05 15:42 
Hallo!
Ich muckel gerade an dem einlesen von einer Datei.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
var TextDoc : Text
S : String;
begin
assign(Textdoc,'C:\test.xyz');
reset(Textdoc)
repeat
readln(Textdoc,S) until EOF(Textdoc);

Ich öffne die nun als Text. Kann die ja nun auch Zeile für Zeile auslesen, allerdings wenn ich nun am Ende bin habe ich keine Ahnung, wie ich wieder an den Anfang komme.
Kann mir da einer einen Tip geben?

Danke
Horst_H
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1654
Erhaltene Danke: 244

WIN10,PuppyLinux
FreePascal,Lazarus
BeitragVerfasst: Mo 28.11.05 17:26 
Hallo,

wie wäre es mit
ausblenden Delphi-Quelltext
1:
reset(Textdoc);					


Gruss Horst

Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt.