Suche…


Einführung

Das Paket Ada.Text_IO wird zum Ada.Text_IO Text oder zum Ada.Text_IO Text aus Dateien oder der Konsole verwendet.

Put_Line

Druckt den String mit einem Zeilenvorschub.

with Ada.Text_IO;

procedure Put_Text is
    use Ada.Text_IO;
    S : String := "Hello";
begin
    Put_Line ("Hello");
    Put_Line (Standard_Output, "Hello");
    Put_Line (Standard_Error, "Hello error");
    Put_Line (S & " World");
end;

Ergebnis

Hello
Hello
Hello error
Hello World


Modified text is an extract of the original Stack Overflow Documentation
Lizenziert unter CC BY-SA 3.0
Nicht angeschlossen an Stack Overflow