2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
8
Task/String-prepend/Ada/string-prepend.ada
Normal file
8
Task/String-prepend/Ada/string-prepend.ada
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
with Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
|
||||
|
||||
procedure Prepend_String is
|
||||
S: Unbounded_String := To_Unbounded_String("World!");
|
||||
begin
|
||||
S := "Hello " & S;-- this is the operation to prepend "Hello " to S.
|
||||
Ada.Text_IO.Put_Line(To_String(S));
|
||||
end Prepend_String;
|
||||
Loading…
Add table
Add a link
Reference in a new issue