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

⟦64ac1dc07⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Sort, seg_0581d2

Derivation

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

E3 Source Code



-- UNIT: procedure sort
-- FILES: sort.a, sort_sup.a, sort_sup_b.a
-- COMPILE: ada sort_sup.a sort_sup_b.a
--                      ada -o sort -M sort sort.a
-- PURPOSE: To provide a demo for serial I/O on self and cross targets, as well
--                      as a useful demo for performance analysis.  Of course with
--                      a few generics the support routines would provide a fine
--                      addition to a general sort library.
-- DESCRIPTION: This is a menu driven demo that provides examples of
--                      four popular sorts: the bubble sort, the shell sort, the
--                      quick sort, and the quick sort with an inline swap.  Menu
--                      options allow output control, random data generation, and
--                      selection of sorting options.
-- USAGE: sort
--
-- .......................................................................... --

with System, Sort_Sup;
use System, Sort_Sup;

procedure Sort is
begin

    Initialize;
    Do_Choice;

end Sort;
pragma Main;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=15 rec1=00 rec2=01 rec3=000
        [0x01] rec0=09 rec1=00 rec2=02 rec3=001
    tail 0x217657a3c87e1684282c8 0x42a00088462060003