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

⟦fd9584472⟧ Ada Source

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

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 Simulateur_Tds is

    function Get_Symbol_Type (A : String) return String is
    begin
        if A = "JOUEUR" or A = "PIECE_COURANTE" or A = "CUISINE" then
            return "STRUCT";
        end if;
        return "ENUM";
    end Get_Symbol_Type;

    function Get_Symbol_Type (A, B : String) return String is
    begin
        if B = "PT_VIE" then
            return "ENTIER";
        end if;
        if B = "EN_VIE" then
            return "BOOLEEN";
        end if;
        return "ENUM";
    end Get_Symbol_Type;

    function Get_Value (A : String) return Integer is
    begin
        return 100;
    end Get_Value;

    function Get_Value (A, B : String) return Integer is
    begin
        return 100;
    end Get_Value;

    function Get_Value (A, B : String) return Boolean is
    begin
        return True;
    end Get_Value;

    function Is_Pointer (A : String) return Boolean is
    begin
        if A = "PIECE_COURANTE" then
            return True;
        else
            return False;
        end if;
    end Is_Pointer;

    function Get_Pointer_Reference (A : String) return String is
    begin
        return "CUISINE";
    end Get_Pointer_Reference;


end Simulateur_Tds;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=28 rec1=00 rec2=01 rec3=026
        [0x01] rec0=0f rec1=00 rec2=02 rec3=001
    tail 0x217477f68864b73c000f6 0x42a00088462060003