Ada Programming/Attributes/'Extended Image
Description
editReturns the image of type STRING associated with a specified item as defined for the PUT procedure in TEXT_IO generic package appropriate for type T (e.g., TEXT_IO.INTEGER_IO(T) if T is an integer type). T may denote an integer, enumeration, floating point or fixed point type name. Named parameter notation may not be used. The parameters are:
- Item : T
- the item for which you want the image. Required.
- Width : Field := 0
- the minimum number of characters to be in the string that is returned.
- Base : Number_Base := 10
- the base in which the image is to be displayed.
- Based : Boolean := FALSE
- if TRUE, return the string in based format (e.g., 10#99#).
- Space_If_Positive : Boolean := FALSE
- if TRUE, a positive integer will be preceded by a blank in the string returned.
Example
editT'EXTENDED_IMAGE(Item, Width, Base, Based, Space_If_Positive)