Registriert seit: 23. Jun 2003
416 Beiträge
Delphi 2006 Professional
|
Re: mit Konsolenanwendung StdIn lesen
8. Jan 2006, 17: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)
|