RosettaCodeData/Task/Character-codes/Ada/character-codes.ada

7 lines
160 B
Ada
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
with Ada.Text_IO; use Ada.Text_IO;
procedure Char_Code is
begin
Put_Line (Character'Val (97) & " =" & Integer'Image (Character'Pos ('a')));
end Char_Code;