< Ada Programming < Delimiters
As operator
Concatenating arrays
function
"&" (Left, Right : T)return
T;
Any array type (including fixed Strings) can be concatenated using the & operator. You can also append a single element to an array.
Common non-standard operations
Concatenating strings
The & operator is also defined for Bounded_String and Unbounded_String.
See also
Wikibook
Ada 95 Reference Manual
Ada 2005 Reference Manual
- 4.4 Expressions (Annotated)
- 4.5.3 Binary Adding Operators (Annotated)
- A.4.4 Bounded-Length String Handling (Annotated)
- A.4.5 Unbounded-Length String Handling (Annotated)
Ada Operators | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.