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.
program Hallo;
begin
writeln ('Hallo, Welt.');
end.Die Ausgabe auf Ihrem Bildschirm sollte so aussehen:
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:
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.
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.
| When | Who | What changed |
|---|---|---|
| Genosse | Created page | |
| Genosse | ||
| Genosse | ||
| Genosse | ||
| Mathias | Hallo, Welt (minor) | |
| Trev | Fixed syntax highlighting (minor) | |
| Kai Burghardt | Kai 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 Burghardt | bypass redirects [cf. discussion] | |
| Kai Burghardt | bypass 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.
