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 - metrics - download
Index: B T

⟦69ff4e37d⟧ TextFile

    Length: 750 (0x2ee)
    Types: TextFile
    Names: »B«

Derivation

└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
    └─⟦5cb1d1d7f⟧ »DATA« 
        └─⟦3b1ee7bd8⟧ 
            └─⟦this⟧ 

TextFile

package body Ics is



    Side_Effect : Integer := 0;       -- IDENT FUNCTION HAS A SIDE EFFECT



    function Ident (X : in Integer) return Integer is

    begin

        Side_Effect := Side_Effect + 1;

        if Side_Effect < 0 then

            return Global;                     -- NEVER EXECUTED

        else

            Side_Effect := Side_Effect - 1;

            return X;

        end if;

    end Ident;





    procedure Let (X : out Integer; Y : in Integer) is

    begin

        Side_Effect := Side_Effect + 1;

        if Side_Effect < 0 then

            X := Global;                        -- NEVER EXECUTED

        else

            X := Y;

        end if;

        Side_Effect := Side_Effect - 1;

    end Let;



end Ics;