|
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 - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Condition_Node, seg_0403d1
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io, Expression_Node; use Text_Io; procedure Test_Condition_Node is Father, Left, Right : Expression_Node.P_Object; use Expression_Node.Kind; begin Put_Line ("-- expression_node.make(integer) --"); Left := Expression_Node.Make (3); Put_Line ("-- expression_node.evaluate --"); Put_Line (Integer'Image (Expression_Node.Evaluate (Left.all))); Put_Line ("-- expression_node.make(integer) --"); Right := Expression_Node.Make (6); Put_Line ("-- expression_node.evaluate --"); Put_Line (Integer'Image (Expression_Node.Evaluate (Right.all))); Put_Line ("-- expression_node.make(*,left,right) --"); Put_Line ("-- 3 * 6 --"); Father := Expression_Node.Make ('*', Left, Right); Put_Line (Integer'Image (Expression_Node.Evaluate (Father.all))); Left := Expression_Node.Make (8); Right := Expression_Node.Make (4); Put_Line ("-- 8 / 4 --"); Right := Expression_Node.Make ('/', Left, Right); Put_Line (Integer'Image (Expression_Node.Evaluate (Right.all))); Left := Father; Put_Line ("-- 3*6 - 8/4 --"); Father := Expression_Node.Make ('-', Left, Right); Put_Line (Integer'Image (Expression_Node.Evaluate (Father.all))); end Test_Condition_Node;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=22 rec1=00 rec2=01 rec3=042 [0x01] rec0=0b rec1=00 rec2=02 rec3=001 tail 0x217405dac860e47146682 0x42a00088462060003