Ada Programming/Delimiters
Appearance
Single character delimiters
[edit | edit source]- &
- ampersand (operator)
- '
- apostrophe, tick
- (
- left parenthesis
- )
- right parenthesis
- *
- asterisk, multiply (operator)
- +
- plus sign (operator)
- ,
- comma
- -
- hyphen, minus (operator)
- .
- full stop, point, dot
- /
- solidus, divide (operator)
- :
- colon
- ;
- semicolon
- <
- less than sign (operator)
- =
- equal sign (operator)
- >
- greater than sign (operator)
- |
- vertical line
Compound character delimiters
[edit | edit source]- =>
- arrow
- ..
- double dot
- **
- double star, exponentiate (operator)
- :=
- assignment
- /=
- inequality (operator)
- >=
- greater than or equal to (operator)
- <=
- less than or equal to (operator)
- <<
- left label bracket
- >>
- right label bracket
- <>
- box
Others
[edit | edit source]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