Autor Beitrag
Renegade
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 358

Win XP Pro, Win 7 Beta
BDS 2006
BeitragVerfasst: Mo 30.04.07 16:20 
o.g. Fehler erhalte ich in TurboDelphi in folgendem Code und finde / verstehe den Fehler einfach nicht.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure 
var s: string;
    OutFile:file;
begin
  AssignFile(OutFile, 'C:\Artikel.csv');
  rewrite(OutFile);
  writeln(OutFile,s);
  CloseFile(OutFile);


Hat da jemand für mich nen Lösungsansatz?

Besten Dank im voraus.

Renegade

_________________
Sokrates (468 v.Chr. - 399 v.Chr.)
"Es ist keine Schande, nichts zu wissen, wohl aber, nichts lernen zu wollen."
Saubäär
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 376



BeitragVerfasst: Mo 30.04.07 17:07 
Hallo,

so kannst du WriteLn nicht benutzen. Deklariere deine Variable als TextFile:

ausblenden Delphi-Quelltext
1:
var OutFile: TextFile;					


Gruß