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

⟦0ca1bad28⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Position, seg_04ccb2, seg_04cd91

Derivation

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

E3 Source Code



package body Position is

    procedure Set (La_Position : out Object;
                   Ligne_Courante : in Ligne;
                   Colonne_Courante : in Colonne) is
    begin
        La_Position.Ligne_Courante := Ligne_Courante;
        La_Position.Colonne_Courante := Colonne_Courante;
    end Set;

    function Get_Ligne (La_Position : in Object) return Ligne is
    begin
        return La_Position.Ligne_Courante;
    end Get_Ligne;

    function Get_Colonne (La_Position : in Object) return Colonne is
    begin
        return La_Position.Colonne_Courante;
    end Get_Colonne;

    function Image (La_Position : in Object) return String is
    begin
        return String'
                  ("Ligne :" & Natural'Image (La_Position.Ligne_Courante) &
                   " Colonne :" & Colonne'Image (La_Position.Colonne_Courante));
    end Image;

    procedure Incremente_Ligne (La_Position : in out Object) is
    begin
        La_Position.Ligne_Courante := La_Position.Ligne_Courante + 1;
    end Incremente_Ligne;

    procedure Incremente_Colonne (La_Position : in out Object) is
    begin
        La_Position.Colonne_Courante := La_Position.Colonne_Courante + 1;
    end Incremente_Colonne;

    procedure Set_Ligne (La_Position : out Object; Ligne_Courante : in Ligne) is
    begin
        La_Position.Ligne_Courante := Ligne_Courante;
    end Set_Ligne;

    procedure Set_Colonne (La_Position : out Object;
                           Colonne_Courante : in Colonne) is
    begin
        La_Position.Colonne_Courante := Colonne_Courante;
    end Set_Colonne;

end Position;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=030
        [0x01] rec0=14 rec1=00 rec2=02 rec3=000
    tail 0x217540d16874f6e84e826 0x42a00088462060003