DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦1d0053625⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, seg_029646

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



WITH Unbounded;
PACKAGE BODY Lines IS

   FUNCTION Make RETURN Lines_Type IS
   BEGIN
      RETURN NULL;
   END Make;


   PROCEDURE Add (New_Line : Line; To : IN OUT Lines_Type) IS
   BEGIN
      IF To = NULL THEN
         To := NEW Lines_Record'(Unbounded.Value (New_Line), NULL);
      ELSE
         DECLARE
            Temp  : Lines_Type :=
               NEW Lines_Record'(Unbounded.Value (New_Line), NULL);
            Temp2 : Lines_Type := To;
         BEGIN
            WHILE Temp2.ALL.Next /= NULL LOOP
               Temp2 := Temp2.ALL.Next;
            END LOOP;
            Temp2.ALL.Next := Temp;
         END;
      END IF;
   END Add;


   FUNCTION Initialize (Lines : Lines_Type) RETURN Line_Iterator IS
   BEGIN
      RETURN Line_Iterator (Lines);
   END Initialize;


   FUNCTION Value (Iterator : Line_Iterator) RETURN Line IS
   BEGIN
      RETURN Unbounded.Image (Iterator.ALL.My_Line);
   END Value;


   PROCEDURE Next (Iterator : IN OUT Line_Iterator) IS
   BEGIN
      Iterator := Line_Iterator (Iterator.ALL.Next);
   END Next;


   FUNCTION Is_Done (Iterator : Line_Iterator) RETURN Boolean IS
   BEGIN
      RETURN Iterator = NULL;
   END Is_Done;
END Lines;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2a rec1=00 rec2=01 rec3=014
        [0x01] rec0=0b rec1=00 rec2=02 rec3=000
    tail 0x21521902e83d369fd2d20 0x489e0066482863001