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

⟦6e68fde8a⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Ess, seg_03eadf

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



with Text_Io, Unbounded_String;
use Text_Io;

with String_Utilities;
use String_Utilities;
package body Ess is
    package Mstring is new Unbounded_String (10);

    type Ts is (Rouge, Bleu, Vert);

    D : String (1 .. 9);
    Kl : Mstring.Variable_String;
    O : Ts := Vert;
    P : String (1 .. 5) := "ROUGE";
    use Mstring;
    function Ioo return String is

        S : String (1 .. 9);

    begin
        Copy (Kl, "salut ghh");
        return "ii";
    end Ioo;

    use Mstring;
    procedure Ri is

        Ms : Variable_String;

        C : Character := 'l';
    begin  
        Put ("g");
        Put (Image (Ms));
        Put_Line ("ii");
        Free (Ms);
        Copy (Ms, "hello world !");
        Put_Line (Image (Ms));  
        Append (Ms, C);
        Free (Ms);
        Put_Line (Image (Ms));
        Put_Line (Upper_Case (Image (Ms)) & Ts'Image (O));
        O := Ts'Value ("ROUGE");
        if Ts'Value ("BLEU") in Ts then
            Put_Line ("oui");
        end if;  
        Put_Line (Ioo);

    end Ri;

end Ess;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2c rec1=00 rec2=01 rec3=02c
        [0x01] rec0=08 rec1=00 rec2=02 rec3=001
    tail 0x2173e4c9a86045bd8e79f 0x42a00088462060003