Created
November 7, 2016 18:54
-
-
Save ytomino/4c482a9840c620719c2ff6c6bf4598cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO; | |
procedure MBD is | |
use Ada.Strings.Wide_Wide_Unbounded; | |
use Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO; | |
function "+" (Right : Wide_Wide_String) return Unbounded_Wide_Wide_String | |
renames To_Unbounded_Wide_Wide_String; | |
x : constant array (Positive range <>) of Unbounded_Wide_Wide_String := ( | |
+"剣士", +"侍", +"弓師", +"重装兵", +"戦士", +"聖職者", +"暗殺者", | |
+"魔法師"); | |
begin | |
for I in 1 .. 8 loop | |
Put (x (I) & ' '); | |
end loop; | |
-- for I in x'Range loop | |
-- Put (x (I) & ' '); | |
-- end loop; | |
-- for E of x loop | |
-- Put (E & ' '); | |
-- end loop; | |
end MBD; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment