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

⟦70f8fbef3⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Str, seg_0267b0

Derivation

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

E3 Source Code



with Your_Generic_String;
with Text_Io;
procedure Test_Str is
    package Gs is new Your_Generic_String (255);
    Gs_Str, Gs_Str2 : Gs.Object;
    Str : constant String := "1234567890";
begin
    Text_Io.Put_Line ("La string vaut : " & Str);
    Gs.Create (Gs_Str, Str);
    Text_Io.Put_Line ("La valeur de la gs_str vaut : " & Gs.Image (Gs_Str));
    Gs.Create (Gs_Str, Str (2 .. 5));
    Text_Io.Put_Line ("La valeur de la gs_str vaut : " & Gs.Image (Gs_Str));
    Gs.Copy (Gs_Str2, Gs_Str);
    Gs.Copy (Gs_Str2, Gs."&" (Gs_Str, Gs_Str2));
    Text_Io.Put_Line (Gs.Image (Gs."&" (Gs_Str, Gs_Str2)));
end Test_Str;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=12 rec1=00 rec2=01 rec3=000
    tail 0x215204e6c83ab36e5663b 0x42a00088462060003