Ada Programming/Attributes/'Wide Wide Image

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description

[edit | edit source]

Image of the value of X as a Wide_Wide_String.


S'Wide_Wide_Image calls S'Put_Image passing Arg (which will typically store a sequence of character values in a text buffer) and then returns the result of retrieving the contents of that buffer with function Wide_Wide_Get.

X'Wide_Wide_Image denotes the result of calling function S'Wide_Wide_Image with Arg being X, where S is the nominal subtype of X (Ada 2022).

Example

[edit | edit source]
SWide_Wide_Image (X:S) return Wide_Wide_String
XWide_Wide_Image return Wide_Wide_String -- Ada 2022