Last modified on 5 January 2009, at 23:38

Ada Programming/Delimiters/'


Ada Lovelace 1838.jpg

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

WikibookEdit

Ada Reference ManualEdit