Ada Programming/Delimiters/'

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Contents


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

[edit] Character literal

As delimiter for characters literals:

Plus : constant Character := '+';

[edit] Attribute delimiter

As a separator between an identifier and an attribute:

for Day_Of_Month'Size use 8;

[edit] See also

[edit] Wikibook

[edit] Ada Reference Manual

Personal tools