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

⟦0fbd263e3⟧ Ada Source

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

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 Constant_String, Document, Text_Io;
use Constant_String;
procedure Constant_String_Test is
    type Access_String is access String;
    E1        : Constant_String.Object;
    The_Name  : String (1 .. 80);
    Last_Char : Natural;
    Str       : String (1 .. 200);

begin  
    Text_Io.Put (" Donner un nom de document:");
    Text_Io.Get_Line (The_Name, Last_Char);
    Document.Open (The_Name (1 .. Last_Char));
    while not Document.Eof loop
        Document.Get_Line (Str, Last_Char);  
        Text_Io.Put_Line (Str (1 .. Last_Char));
        E1 := Value (Str (1 .. Last_Char));
    end loop;
    Document.Close;
    Text_Io.Put_Line ("**** numbre de ligne du fichier : " &
                      Natural'Image (Document.Number_Of_Lines));
    Text_Io.Put_Line ("**** nombre total de conflits   : " &
                      Natural'Image (Constant_String.Conflicts_Number));


end Constant_String_Test;

E3 Meta Data

    nblk1=2
    nid=2
    hdr6=2
        [0x00] rec0=1c rec1=00 rec2=01 rec3=000
        [0x01] rec0=01 rec1=00 rec2=02 rec3=000
    tail 0x2150c86dc82383d90b6a8 0x42a00088462063c03
Free Block Chain:
  0x2: 0000  00 00 00 03 00 00 00 01 00 00 00 00 00 00 00 00  ┆                ┆