|
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: 4096 (0x1000) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Enumerate_Array, seg_0492ba
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io, Enumerate_Array, Identifier; use Text_Io, Enumerate_Array; procedure Test_Enumerate_Array is Ok : Boolean; begin Put_Line ("enumerate array vide"); Show; Put (Identifier.From_String ("couleur"), Identifier.From_String ("rouge"), Ok); Put_Line ("put ok : " & Boolean'Image (Ok)); Put (Identifier.From_String ("couleur"), Identifier.From_String ("bleu"), Ok); Put_Line ("put ok : " & Boolean'Image (Ok)); Put (Identifier.From_String ("normal"), Identifier.From_String ("ouvert"), Ok); Put_Line ("put ok : " & Boolean'Image (Ok)); Put (Identifier.From_String ("normal"), Identifier.From_String ("ouvert"), Ok); Put_Line ("put ok : " & Boolean'Image (Ok)); Put (Identifier.From_String ("special"), Identifier.From_String ("invisible"), Ok); Put_Line ("put ok : " & Boolean'Image (Ok)); Put (Identifier.From_String ("special"), Identifier.From_String ("invisible"), Ok); Put_Line ("put ok : " & Boolean'Image (Ok)); Put (Identifier.From_String ("feu"), Identifier.From_String ("rouge"), Ok); Put_Line ("put ok : " & Boolean'Image (Ok)); Show; Put_Line ("e i e " & Natural'Image (Enumeration_Index ("special"))); Put_Line ("e i e " & Natural'Image (Enumeration_Index ("specia"))); Put_Line ("e i e " & Natural'Image (Enumeration_Index ("normal"))); Put_Line ("e i l " & Natural'Image (Enumeration_From_Literal_Index ("rouge"))); Put_Line ("e i l " & Natural'Image (Enumeration_From_Literal_Index ("ouvert"))); Put_Line ("e i l " & Natural'Image (Enumeration_Index (Literal_Index ("rouge")))); Put_Line ("e i l " & Natural'Image (Enumeration_Index (Literal_Index ("dsfdf")))); Put_Line ("l i l " & Natural'Image (Literal_Index ("rouge"))); Put_Line ("l i l " & Natural'Image (Literal_Index ("ndfnmn"))); Put_Line ("l l i" & Literal (34)); Put_Line ("l l i" & Literal (0)); Put_Line ("l l i" & Literal (Literal_Index ("ouvert"))); Put_Line ("e e i " & Enumeration (0)); Put_Line ("e e i " & Enumeration (Enumeration_Index ("couleur"))); Put_Line ("l b " & Boolean'Image (Literal_Belong ("houvert"))); Put_Line ("l b " & Boolean'Image (Literal_Belong ("ouvert"))); Put_Line ("e b " & Boolean'Image (Enumeration_Belong ("ghk"))); Put_Line ("e b " & Boolean'Image (Enumeration_Belong ("couleur"))); end Test_Enumerate_Array;
nblk1=3 nid=0 hdr6=6 [0x00] rec0=21 rec1=00 rec2=01 rec3=00c [0x01] rec0=14 rec1=00 rec2=02 rec3=07e [0x02] rec0=10 rec1=00 rec2=03 rec3=000 tail 0x2174d91c8865b68206101 0x42a00088462060003