Ada by Example


Hello World, Text Output
Integer and Float Output, Attributes 'img and 'image, Keyword Parameters
Subtypes Natural and Positive, Strong Typing
Built-in Types Boolean, Character and their Output, Strings, Constants, Literals, Named and Based numbers
Operators and Expressions, Attributes, More Attributes, Range Constraints, More on Subtypes
New Numeric Types
Enumeration Types
Input
Summary Example: Basic Types, Operators, Expressions, Type Checking, I/O, Control Structures
Declare Blocks
Control Structures
Procedures and Functions
Global Variables
Exceptions
Arrays
Renaming, Command Line, Working With Files and Default_Input