DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦cd6d1043b⟧ TextFile

    Length: 1247 (0x4df)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Lexical;  
use Lexical;
with Text_Io;
with Erreurs;

with Semantique;

procedure Essai_Calcul is
    Le_Resultat : Integer;
begin  
    Erreurs.Ouvrir ("un_nouveau_ficihier_erreur");
    Semantique.Demarre_Calcul;
    Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 406);
    Semantique.Empiler (Un_Jeton => L_Plus);
    Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 2);
    Semantique.Empiler (Un_Jeton => L_Star);
    Semantique.Empiler (Un_Jeton => L_Open);
    Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 2);
    Semantique.Empiler (Un_Jeton => L_Sub);
    Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 2);
    Semantique.Empiler (Un_Jeton => L_Star);
    Semantique.Empiler (Un_Jeton => L_Open);
    Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 2);
    Semantique.Empiler (Un_Jeton => L_Plus);
    Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 100);
    Semantique.Empiler (Un_Jeton => L_Close);
    Semantique.Empiler (Un_Jeton => L_Close);
    -- Semantique.Empiler (Un_Jeton => L_Close);


    Semantique.Empiler (Un_Jeton => L_Ok);
    Semantique.Evaluer_Expression (Le_Resultat);
    Text_Io.Put_Line (Integer'Image (Le_Resultat));

    Erreurs.Fermer;

end Essai_Calcul;