Sign in Join
Wiki copytemporary

Basic Pascal Tutorial/Hello, World/de: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11[[Basic Pascal Tutorial/Compilers/de|◄]] | [[Basic Pascal Tutorial/Contents/de|▲]] | [[Basic Pascal Tutorial/Chapter 1/Program Structure/de|►]]
22---|---|---
33
44## Hallo, Welt
55
66_(Autor: Tao Yue, Zustand: Übersetzung ins Deutsche)_
77
88
99In 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.
1010
1111Wenn 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.
1212```
1313program Hallo;
1414 begin
1515 writeln ('Hallo, Welt.');
1616 end.
1717```
1818
1919Die Ausgabe auf Ihrem Bildschirm sollte so aussehen:
2020```
2121Hallo, Welt.
2222```
2323
2424Wenn 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:
2525```
2626program Hallo;
2727 begin
2828 writeln ('Hallo, Welt.');
2929 readln;
3030 end.
3131```
3232
3333[[Basic Pascal Tutorial/Compilers/de|◄]] | [[Basic Pascal Tutorial/Contents/de|▲]] | [[Basic Pascal Tutorial/Chapter 1/Program Structure/de|►]]
3434---|---|---
3535
3636---
37-*From the Free Pascal wiki, page "Hello, World/de", as the Internet Archive kept it on 2023-03-30. 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](/wiki-contact).*
37+*From the Free Pascal wiki, page "Hello, World/de", as the Internet Archive kept it on 2023-03-30, last changed on 2022-08-20. 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](/wiki-contact).*

Back to history