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

⟦b3a804e95⟧ Ada Source

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

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 Nom_Variable, Lexical_Analyzer, Error, Dynamic_Value,
     Dynamic_Node, Text_Io, Stack_Generic, Unbounded_String;

procedure Test_Nom_Var is

    package Unlimited_String is new Unbounded_String (10);
    package Type_String_Stack is
       new Stack_Generic (Element => Unlimited_String.Variable_String);



    V : Dynamic_Value.Object;
    Node : Dynamic_Node.Object;

    S : Type_String_Stack.Stack;

begin
    Lexical_Analyzer.Open ("Test_Fichier_nom_var");
    Lexical_Analyzer.Next;
    Nom_Variable.Parse;
    Lexical_Analyzer.Close;


    Text_Io.Put ("verification = ");

    S := Nom_Variable.Get_Name_In_Order;
    while not (Type_String_Stack.Empty (S)) loop
        Text_Io.Put_Line (Unlimited_String.Image (Type_String_Stack.Top (S)));
        Type_String_Stack.Pop (S);
    end loop;


exception
    when Error.Excep_Semantic_Error | Error.Excep_Syntaxique_Error =>

        Error.Treat;

end Test_Nom_Var;

E3 Meta Data

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