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

⟦19f5338b1⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Role, seg_036c3d

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 Role;
use Role;
with Text_Io;
use Text_Io;
procedure Test_Role is
    package Int_Io is new Text_Io.Integer_Io (Integer);
    N : Integer;
    F : File_Type;
    Mr : P_Role;  
    A : Acteur;
begin
    Put_Line ("debut role");
    Open (F, In_File, "file_role");
    A.Num_Station := 99;
    A.Num_Acteur := 50;
    Put_Line ("debut lecture fichier");
    for I in 1 .. 10 loop  
        Int_Io.Put (I);
        Put_Line ("");
        Mr := Lire_Un_Role (F, Mr, A);
    end loop;
    Put_Line ("fin de lecture du fichier");
    Close (F);
    Affiche_Role (Mr);
    Jouer_Role (Mr);
    Put_Line ("fin role");
end Test_Role;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=1d rec1=00 rec2=01 rec3=000
    tail 0x215303df884e06f7c16e4 0x42a00088462060003