|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Procedure_Variable, seg_0297b4
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io; with Xlbt_Proc_Var; procedure Test_Procedure_Variable is package Call_Backs is new Xlbt_Proc_Var.Proc_In (Natural); procedure One (Count : Natural); procedure Two (Count : Natural); procedure Three (Count : Natural); Pv1, Pv2, Pv3 : Call_Backs.Pv; procedure One (Count : Natural) is begin for I in 1 .. Count loop Text_Io.Put_Line ("one"); end loop; end One; procedure Two (Count : Natural) is begin for I in 1 .. Count loop Text_Io.Put_Line ("two"); end loop; end Two; procedure Three (Count : Natural) is begin for I in 1 .. Count loop Text_Io.Put_Line ("three"); end loop; end Three; function Make_One_Pointers is new Call_Backs.Value (One); function Make_Two_Pointers is new Call_Backs.Value (Two); function Make_Three_Pointers is new Call_Backs.Value (Three); begin Pv1 := Make_One_Pointers; Pv2 := Make_Two_Pointers; Pv3 := Make_Three_Pointers; Call_Backs.Call (Pv1, 4); Call_Backs.Call (Pv2, 5); Call_Backs.Call (Pv3, 6); end Test_Procedure_Variable; pragma Main;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=22 rec1=00 rec2=01 rec3=006 [0x01] rec0=08 rec1=00 rec2=02 rec3=001 tail 0x21723094483d37e4526bf 0x42a00088462063c03