Attribute subroutines

Use attributes to inquire about and to set attributes for an object.