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.

The special character ' (called tic) has two meanings. Which of the two options is to be used is determined by context from the compiler.

Character literal[edit | edit source]

As delimiter for characters literals:

Plus : constant Character := '+';

Attribute delimiter[edit | edit source]

As a separator between an identifier and an attribute:

for Day_Of_Month'Size use 8;

See also[edit | edit source]

Wikibook[edit | edit source]

Ada Reference Manual[edit | edit source]