with ada.text_io; use ada.text_io;
with ada.integer_text_io; use ada.integer_text_io;
procedure attributes is
i: Integer;
n: Natural;
p: Positive;
b: Boolean;
c: Character;
package Boolean_io is new Enumeration_io(Boolean);
use Boolean_io;
begin
put(Integer'first); new_line;
put(Integer'last); new_line;
put(Natural'first); new_line;
put(Natural'last); new_line;
put(Boolean'first); new_line;
put(Boolean'last); new_line;
i := Integer'value("123");
put(i); new_line;
put_line(integer'image(integer'value("456")));
put(Boolean'val(0));
put(Boolean'pos(true));
put(Character'val(65));
put(Character'pos('A'));
end attributes;