ADA Basics – III
SEPARATORS: separate (MY_S) function MY_F return BOOLEAN is begin TEXT_IO.PUT_LINE (“In function MY_F”); return TRUE; end MY_S; Separates can be compiled in different libraries Separates should be compiled last […]
SEPARATORS: separate (MY_S) function MY_F return BOOLEAN is begin TEXT_IO.PUT_LINE (“In function MY_F”); return TRUE; end MY_S; Separates can be compiled in different libraries Separates should be compiled last […]
ARRAYS: A: array (INTEGER range 1 .. 10) of INTEGER; — Initializing array for I in 1 .. 10 loop A(I) := 0; end loop; A2 : array (INTEGER range […]
ADA Types: ADA – Basic Types – Objects: — Type declarations type MY_T is …; — user defined type type YOUR_T is …; — another user defined type — Object […]