Ada Programming/Delimiters/&

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

Ada. Time-tested, safe and secure.
Ada. Time-tested, safe and secure.

As operator[edit | edit source]

Concatenating arrays[edit | edit source]

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

Concatenating strings[edit | edit source]

The & operator is also defined for Bounded_String and Unbounded_String.

See also[edit | edit source]

Wikibook[edit | edit source]

Ada 95 Reference Manual[edit | edit source]

Ada 2005 Reference Manual[edit | edit source]



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