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

⟦f51ab3cc6⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Mon_Boolean, seg_03c3a3

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



package body Mon_Boolean is
    function "and" (Left, Right : Bool) return Bool is
    begin
        if Left = Right then
            return Left;
        else
            return M_False;
        end if;
    end "and";


    function "or" (Left, Right : Bool) return Bool is
    begin
        if Left = Right then
            return Left;
        else
            return M_True;
        end if;

    end "or";



    function "not" (Right : Bool) return Bool is
    begin
        if Right = M_True then
            return M_False;
        else
            return M_True;
        end if;
    end "not";

    procedure Affecte (Left : out Bool; Right : in Bool) is
    begin
        Left := Right;
    end Affecte;

    function Donne (Valeur : in Bool) return Boolean is
    begin
        if Valeur = M_True then
            return True;
        else
            return False;
        end if;
    end Donne;


    function Ajuste (Valeur : in Boolean) return Bool is
    begin
        if Valeur = True then
            return M_True;
        else
            return M_False;
        end if;
    end Ajuste;

    function Compare (Left : in Bool; Right : in Bool) return Bool is
    begin
        if Left = Right then
            return M_True;
        else
            return M_False;
        end if;
    end Compare;
end Mon_Boolean;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=31 rec1=00 rec2=01 rec3=016
        [0x01] rec0=12 rec1=00 rec2=02 rec3=001
    tail 0x21534a6e085a564384ac2 0x42a00088462060003