Einzelnen Beitrag anzeigen

Niko

Registriert seit: 23. Jun 2003
416 Beiträge
 
Delphi 2006 Professional
 
#2

Re: mit Konsolenanwendung StdIn lesen

  Alt 8. Jan 2006, 16:38
Hi,

ganz einfach mit read oder readln.

Zum Beispiel:
Delphi-Quellcode:
var s: String;
// ...
while (not Eof) do
begin
  readln(s);
  // s verarbeiten
end;
"Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking." (Dave Barry)
  Mit Zitat antworten Zitat