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

⟦182a402d7⟧ TextFile

    Length: 622 (0x26e)
    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

-- PUT 10 INTEGERS IN SEQUENCE AND TEST IF EMPTY USING X0SEQ PKG.

with Instrument, X0seq;
use Instrument;

procedure Sq10a2 is

    package Intseq is new X0seq (50, Integer);

    use Intseq;

    My_Sequence : Sequence;

begin

    Start ("SQ10A2", "PUT_NEXT 10 ELEMENTS AND TEST IS_NOT_EMPTY_TO_END.");
    for Ii in 1 .. 1000 loop

        for I in 1 .. 10 loop

            Put_Next (My_Sequence, I);

        end loop;

        if

           Is_Not_Empty_To_End (My_Sequence) then

            Comment ("IS_NOT_EMPTY_TO_END RETURNS TRUE AFTER PUT_NEXT SERIES");

        end if;
    end loop;
    Stop;

end Sq10a2;