ada
pakket Ada.Text_IO
Zoeken…
Invoering
Pakket Ada.Text_IO wordt gebruikt voor het plaatsen van tekst of het Ada.Text_IO tekst uit bestanden of console.
Put_Line
Print string met een nieuwe regel.
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;
Resultaat
Hello
Hello
Hello error
Hello World
Modified text is an extract of the original Stack Overflow Documentation
Licentie onder CC BY-SA 3.0
Niet aangesloten bij Stack Overflow