|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Action_List3, seg_046086
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Action_List, Text_Io, Dynamic_Node, Dynamic_Value;
procedure Test_Action_List3 is
Alist : Action_List.Object;
Dn1, Dn2, Dnens, Dn3, Dn4 : Dynamic_Node.Object;
Dv1, Dv2, Dvens, Dv3, Dv4 : Dynamic_Value.Object;
begin
Action_List.Initialize (Alist);
-- creation d'un affectation entre 2 chaines
Action_List.Create (Alist, Action_List.Affect_Action);
Dynamic_Value.Set_Value (Dv1, "chaine1");
Dynamic_Value.Set_Value (Dv2, "chaine2");
Dynamic_Node.Create_Value (Dn1);
Dynamic_Node.Set_Value (Dn1, Dv1);
Dynamic_Node.Create_Value (Dn2);
Dynamic_Node.Set_Value (Dn2, Dv2);
Action_List.Set_Argument (Alist, Dn1, Action_List.Source);
Action_List.Set_Argument (Alist, Dn2, Action_List.Target);
Dynamic_Node.Evaluate (Dn1);
Dynamic_Node.Evaluate (Dn2);
Action_List.Evaluate (Alist);
Action_List.Execute (Alist);
-- creation d'une action ajout sur un ensemble
-- Dynamic_Value.Append_In_Set ("prendre", Dvens);
Dynamic_Node.Create_Value (Dnens);
Dynamic_Value.Append_To_Set (Dvens, "toto");
Dynamic_Node.Set_Value (Dnens, Dvens);
Dynamic_Value.Set_Value (Dv3, "vase", Dynamic_Value.Voca_Value);
Dynamic_Node.Create_Value (Dn3);
Dynamic_Node.Set_Value (Dn3, Dv3);
Action_List.Create (Alist, Action_List.Append_In_Set_Of_Word);
Action_List.Set_Argument (Alist, Dnens, Action_List.Target);
Action_List.Set_Argument (Alist, Dn3, Action_List.Source);
-- autre ajout ds ensemble
--Dynamic_Value.Set_Value (Dv4, "toto", Dynamic_Value.Voca_Value);
--Dynamic_Node.Create_Value (Dn4);
--Dynamic_Node.Set_Value (Dn4, Dv4);
--Action_List.Create (Action_List.Append_In_Set_Of_Word);
--Action_List.Set_Argument (Dn4, Action_List.Source);
--Action_List.Set_Argument (Dnens, Action_List.Target);
-- Text_Io.Put_Line ("ici1");
-- Action_List.Execute;
-- creation d'une action retirer ds un ensemble
--Action_List.Create (Action_List.Remove_From_Set_Of_Word);
--Action_List.Set_Argument (Dnens, Action_List.Target);
--Action_List.Set_Argument (Dn4, Action_List.Source);
Action_List.Execute (Alist);
end Test_Action_List3;
nblk1=4
nid=2
hdr6=6
[0x00] rec0=22 rec1=00 rec2=01 rec3=014
[0x01] rec0=18 rec1=00 rec2=03 rec3=02c
[0x02] rec0=08 rec1=00 rec2=04 rec3=000
[0x03] rec0=04 rec1=0a rec2=d4 rec3=442
tail 0x215429a58864d6baeef9d 0x42a00088462060003
Free Block Chain:
0x2: 0000 00 00 00 b5 80 39 20 20 2d 2d 41 63 74 69 6f 6e ┆ 9 --Action┆