|
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: 7168 (0x1c00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Verbs, seg_0459d0
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Tree, Text_Io, String_Utilities, Unbounded_String; package body Verbs is package Identifier is new Unbounded_String (1); subtype String_Verb is Identifier.Variable_String; --------------------- function "<" (Left, Right : String_Verb) return Boolean is begin return String_Utilities.Less_Than (Identifier.Image (Left), Identifier.Image (Right)); end "<"; function ">" (Left, Right : String_Verb) return Boolean is begin return String_Utilities.Greater_Than (Identifier.Image (Left), Identifier.Image (Right)); end ">"; package Verbs_Tree is new Tree (Element => String_Verb, Nb_Preallocation_Node => 5); --------------------- procedure Create (Name : String) is A_Verb : String_Verb; begin A_Verb := Identifier.Value (Name); Verbs_Tree.Insert (A_Verb); end Create; function Exists (Name : String) return Boolean is A_Verb : String_Verb; begin A_Verb := Identifier.Value (Name); return Verbs_Tree.Find (A_Verb); end Exists; end Verbs;
nblk1=6 nid=5 hdr6=4 [0x00] rec0=26 rec1=00 rec2=01 rec3=000 [0x01] rec0=09 rec1=00 rec2=03 rec3=000 [0x02] rec0=17 rec1=00 rec2=05 rec3=000 [0x03] rec0=14 rec1=00 rec2=03 rec3=000 [0x04] rec0=0a rec1=00 rec2=02 rec3=000 [0x05] rec0=43 rec1=09 rec2=36 rec3=23b tail 0x215420bf2864b8005c58d 0x42a00088462060003 Free Block Chain: 0x5: 0000 00 04 00 6b 80 0b 6c 75 65 20 28 4e 61 6d 65 29 ┆ k lue (Name)┆ 0x4: 0000 00 02 03 fc 80 2b 20 4d 79 5f 54 72 65 65 2e 49 ┆ + My_Tree.I┆ 0x2: 0000 00 06 00 e0 80 07 6e 64 20 74 68 65 6e 07 00 1f ┆ nd then ┆ 0x6: 0000 00 00 00 2a 80 03 65 72 3b 03 00 09 20 20 20 20 ┆ * er; ┆