Whirlwind Tour of Ada - Part 3

Structured Statements, Arrays, Procedures

Parameter Modes, Numeric Input, Exceptions



If statement, For loop, Numeric input with Get (getcountpzn.adb)



More on Ada.Integer_text_io.get (geteofcountpzn.adb)



Standard Input



While loop and End of File test (geteofcountpzn.adb)



Character Input



Arrays and Array Types (countposzeroneg.adb)



Using Procedures and Functions (With Array Parameters) (sumcountprocs.adb)



Parameter Modes (sumcountprocs.adb continued)



More on Parameter Modes



Filling the array using integer_text_io.Get (sumcountprocs2.adb)



Scope



Global Variables



More on Exceptions



Begin/End Blocks



Declare Blocks



Declare Blocks and Unconstrained Arrays



Unconstrained Arrays as Parameters