Ada Programming/Delimiters/&

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


As operator[edit]

Concatenating arrays[edit]

 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[edit]

Concatenating strings[edit]

The & operator is also defined for Bounded_String and Unbounded_String.

See also[edit]


Ada 95 Reference Manual[edit]

Ada 2005 Reference Manual[edit]

Ada Operators
and and then > + abs &
or or else >= - mod
xor = < * rem in
not /= <= ** / not in