< Ada Programming

Ada. Time-tested, safe and secure.

Single character delimiters

& 
ampersand (also operator &)
' 
apostrophe, tick
( 
left parenthesis
) 
right parenthesis
* 
asterisk, multiply (also operator *)
+ 
plus sign (also operator +)
, 
comma
- 
hyphen, minus (also operator -)
. 
full stop, point, dot
/ 
solidus, divide (also operator /)
: 
colon
; 
semicolon
< 
less than sign (also operator)
= 
equal sign (also operator =)
> 
greater than sign (also operator)
| 
vertical line

Compound character delimiters

=> 
arrow
.. 
double dot
** 
double star, exponentiate (also operator **)
:= 
assignment
/= 
inequality (also operator)
>= 
greater than or equal to (also operator)
<= 
less than or equal to (also operator)
<< 
left label bracket
>> 
right label bracket
<> 
box

Others

The following ones are special characters but not delimiters.

" 
quotation mark, used for string literals.
# 
number sign, used in based numeric literals.

The following special characters are unused in Ada code - they are illegal except within string literals and comments (they are used in the Reference Manual Backus-Naur syntax definition of Ada):

[ 
left square bracket
] 
right square bracket
{ 
left curly bracket
} 
right curly bracket

See also

Wikibook

Ada 95 Reference Manual

Ada 2005 Reference Manual

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.