8.1.1 Attribute manipulation predicates
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Constraint Logic Programming
        • Attributed variables
          • Attribute manipulation predicates
            • attvar/1
            • put_attr/3
            • get_attr/3
            • del_attr/2
    • Packages
Availability:built-in
get_attr(+Var, +Module, -Value)
Request the current value for the attribute named Module. If Var is not an attributed variable or the named attribute is not associated to Var this predicate fails silently. If Module is not an atom, a type error is raised.