Ada Programming/Keywords/is
< Ada Programming < KeywordsComputing » Computer Science » Computer Programming » Ada Programming

The keyword is separates the name of an entity from its definition.
In type declarations
type Day_Of_Month is new range 1 .. 31;
See Ada Programming/Types and Ada Programming/Subtypes.
In subtype declarations
subtype Day_Of_Febuary is Day_Of_Month range 1 .. 29;
In package declarations
package My_Package is ... -- declarations end My_Package;
In procedure and function declaration
procedure My_Procedure is ... -- declarations begin ... -- sentences end My_Procedure;
See Ada Programming/Subprograms.
In generic instantiations
package Day_Of_Month_IO is new Ada.Text_IO.Integer_IO (Num => Day_Of_Month);
See also
Wikibook
Ada Reference Manual
Ada Quality and Style Guide
Ada Keywords | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.