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

⟦51d14c620⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Init_Complexe, seg_04648c, seg_0464fb

Derivation

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

E3 Source Code



with Lexical, Token_List, Erreur, Init_Simple, Bounded_String;
with Models, Symbols, Dynamic_Object, Fields;
use Lexical, Token_List;

package body Init_Complexe is

    First_Bis : Token_List.Object := Make (Virgul);


    procedure Parse (Tds : in Symbols.Object;
                     Tdm : in Models.Object;
                     An_Object : in out Dynamic_Object.Dynamic_Object;
                     Symbol_Type : String) is

        A_Model_Fields : Fields.Object;
        Index : Fields.Field_Index;


    begin
        if (Models.Get_Model_Type_By_Name (Tdm, Symbol_Type) = "STRUCTURE") then

            Fields.Create (A_Model_Fields);
            Models.Get_Model_Fields_By_Name (Tdm, Symbol_Type, A_Model_Fields);
            Fields.Open_Field_Indexation (A_Model_Fields, Index);

            Init_Simple.Parse_Avec (Tds, Tdm, An_Object,
                                    Fields.Get_Indexed_Field_Name (Index));
            while Is_In (Lexical.Get_Token, First_Bis) loop
                Fields.Next_Field_Index (Index);
                Lexical.Next;
                if not Fields.No_More_Fields (Index) then
                    Init_Simple.Parse_Avec
                       (Tds, Tdm, An_Object,
                        Fields.Get_Indexed_Field_Name (Index));
                else
                    Erreur.Symbole
                       ("Nombre de Valeur(s) initiale(s) incorrect");
                end if;
            end loop;
            Fields.Dispose_Object (A_Model_Fields);
        else
            Erreur.Symbole ("Type instancie incorect");
        end if;

    end Parse;

end Init_Complexe;



E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1d rec1=00 rec2=01 rec3=04a
        [0x01] rec0=16 rec1=00 rec2=02 rec3=001
    tail 0x21748b17e865044654d08 0x42a00088462060003