Sign in Join
Wiki copytemporary

Basic Pascal Tutorial/Hello, World/de

한국어 · Deutsch · English · Español · Français · Italiano · Svenska · Български · Русский · العربية · 中文(中国) · 日本語

Hallo, Welt

(Autor: Tao Yue, Zustand: Übersetzung ins Deutsche)

In der kurzen Geschichte der Computerprogrammierung ist es eine lange Tradition, dass das erste Programm in einer neuen Sprache ein "Hallo, Welt" auf dem Bildschirm ist. Also lass uns das machen. Kopieren Sie das untenstehende Programm in Ihre IDE oder Ihren Texteditor, kompiliere es und führe es aus.

Wenn Du keine Ahnung hast, wie das geht, kehre zum Inhaltsverzeichnis zurück. Frühere Lektionen erklären, was ein Compiler ist, geben Links zu herunterladbaren Compilern und führen Dich durch die Installation eines Open-Source-Pascal-Compilers unter Windows.

pascal
program Hallo;
begin
  writeln ('Hallo, Welt.');
end.

Die Ausgabe auf Ihrem Bildschirm sollte so aussehen:

text
Hallo, Welt.

Wenn Du das Programm in einer IDE ausführst, siehst Du das Programm nur kurz aufspringen und sofort zur IDE zurückkehren, bevor Du sehen konntest, was passiert ist. Schaue Dir des Ende der vorherigen Lektion an, um den Grund dafür zu erfahren. Eine vorgeschlagene Lösung, ein readln hinzuzufügen, damit das Programm sich erst beendet wenn mit Enter bestätigt wird. So kann die Ausgabe "Hallo, Welt" betrachtet werden. Hierzu wie unten zu sehen einfach ein readln hinzufügen:

pascal
program Hallo;
begin
  writeln ('Hallo, Welt.');
  readln;
end.

From the Free Pascal wiki, page "Basic Pascal Tutorial/Hello, World/de", as it stood on 2022-08-20 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 3, last changed by WikiArchive .

Edited on wiki.freepascal.org by 4 people, 2018–2022

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
GenosseCreated page
Genosse
Genosse
Genosse
MathiasHallo, Welt (minor)
TrevFixed syntax highlighting (minor)
Kai BurghardtKai Burghardt moved page Hello, World/de to Basic Pascal Tutorial/Hello, World/de: tidy up main name space: create subpage hierarchy for basic Pascal tutorial [cf. [[Special: PermaLink/149778#Clutteri... (minor)
Kai Burghardtbypass redirects [cf. discussion]
Kai Burghardtbypass language bar/categorization template redirect [cf. discussion] (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.