Ada Programming/Delimiters/'

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 literalEdit

As delimiter for characters literals:

Plus : constant Character := '+';

Attribute delimiterEdit

As a separator between an identifier and an attribute:

for Day_Of_Month'Size use 8;

See alsoEdit


Ada Reference ManualEdit