Tutorial by Topics: attribute

Subtype attributes 'Image and 'Value will take, respectively, a scalar value and a string and they return, respectively, a string and a scalar value. The result of 'Image can be input to 'Value to get the original value. The converse is also true.

The __Scalar_Object__'Image attribute can be used directly on objects (since Ada 2012-TC-1).

Page 1 of 3