|
|
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_Action_List1, seg_0448e3
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Compiler_Action, Dynamic_Value, Dynamic_Node, Text_Io;
procedure Test_Action_List1 is
Alist : Compiler_Action.Acces_List;
D_V1, D_V2, D_V3, D_V4 : Dynamic_Value.Object;
D_A1, D_A2, D_A3, D_A4 : Compiler_Action.Object;
Dnc1, Dnc2, Dnc3, Dnc4 : Dynamic_Node.Object;
Dnv1, Dnv2, Dnv3, Dnv4 : Dynamic_Node.Object;
use Dynamic_Node;
use Compiler_Action;
begin
Compiler_Action.Create_Action (D_A1, Compiler_Action.Conditional_Action);
-- premiere condition
Dynamic_Value.Set_Value (D_V1, True);
Dynamic_Node.Create_Value (Dnc1);
Dynamic_Node.Set_Value (Dnc1, D_V1);
-- bloc vrai
Dynamic_Value.Set_Value (D_V2, "si 1 true");
Compiler_Action.Create_Action (D_A2, Write_Action);
Compiler_Action.Set_Argument (D_A2, Write_Argument, D_V2);
-- bloc faux
Dynamic_Value.Set_Value (D_V3, "si 1 false");
Compiler_Action.Create_Action (D_A3, Write_Action);
Compiler_Action.Set_Argument (D_A3, Write_Argument, D_V3);
-- creation liste action
Compiler_Action.Create_List (Alist);
Compiler_Action.Set_Argument (D_A1, Condition_Argument, Dnc1);
Compiler_Action.Set_Argument (D_A1, True_Component, D_A2);
Compiler_Action.Set_Argument (D_A1, False_Component, D_A3);
Compiler_Action.Add_Action (Alist, D_A1);
Compiler_Action.Evaluate (Alist);
Compiler_Action.Execute (Alist);
-- condition fausse a executer
Dynamic_Value.Set_Value (D_V1, False);
Compiler_Action.Evaluate (Alist);
Compiler_Action.Execute (Alist);
end Test_Action_List1;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1d rec1=00 rec2=01 rec3=044
[0x01] rec0=19 rec1=00 rec2=02 rec3=001
tail 0x215407126864237e3dbb5 0x42a00088462060003