tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
15
Task/Environment-variables/Ada/environment-variables-3.ada
Normal file
15
Task/Environment-variables/Ada/environment-variables-3.ada
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
with Ada.Wide_Wide_Text_IO;
|
||||
|
||||
with League.Application;
|
||||
with League.Strings;
|
||||
|
||||
procedure Main is
|
||||
|
||||
function "+"
|
||||
(Item : Wide_Wide_String) return League.Strings.Universal_String
|
||||
renames League.Strings.To_Universal_String;
|
||||
|
||||
begin
|
||||
Ada.Wide_Wide_Text_IO.Put_Line
|
||||
(League.Application.Environment.Value (+"HOME").To_Wide_Wide_String);
|
||||
end Main;
|
||||
Loading…
Add table
Add a link
Reference in a new issue