|
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, package body Keyword, seg_031b17, seg_036396
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with String_Map_Generic; with Text_Io; with String_Utilities; package body Keyword is package Table is new String_Map_Generic (Size => 50, Range_Type => Message.Selector, Ignore_Case => True); The_Table : Table.Map; procedure Init_The_Table is begin Table.Initialize (The_Map => The_Table); for I in Message.Selector'First .. Message.Selector'Last loop Table.Define (The_Map => The_Table, D => Message.Selector'Image (I), R => I, Trap_Multiples => True); end loop; end Init_The_Table; function Search (S : String) return Message.Selector is Found : Boolean := False; Result : Message.Selector := Message.Sans_Parametre; begin Table.Find (The_Map => The_Table, D => S, R => Result, Success => Found); return Result; end Search; procedure En_Text is The_Iterator : Table.Iterator; begin Table.Init (Iter => The_Iterator, The_Map => The_Table); while not Table.Done (The_Iterator) loop Text_Io.Put ("String :"); Text_Io.Put (Table.Value (The_Iterator)); Text_Io.Put (" ==> "); Text_Io.Put_Line (Item => Message.Selector'Image (Table.Eval (The_Table, Table.Value (The_Iterator)))); Table.Next (Iter => The_Iterator); end loop; end En_Text; begin Init_The_Table; end Keyword;
nblk1=3 nid=0 hdr6=6 [0x00] rec0=18 rec1=00 rec2=01 rec3=024 [0x01] rec0=1f rec1=00 rec2=02 rec3=018 [0x02] rec0=0c rec1=00 rec2=03 rec3=000 tail 0x2172ba52c84be8bb00bc9 0x42a00088462060003