|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 2048 (0x800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Moving_String, seg_0424fe
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Text_Io, Moving_String;
use Text_Io, Moving_String;
procedure Test_Moving_String is
Ms : Moving_String.Object;
begin
Put_Line ("length : " & Natural'Image (Moving_String.Length (Ms)));
Ms := Moving_String.From_String ("Hello !");
Put_Line ("sen : " & Moving_String.Image (Ms));
Put_Line ("length : " & Natural'Image (Moving_String.Length (Ms)));
Put_Line ("pos 4 :" & Moving_String.Char_At (Ms, 4));
Ms := Ms & "klmA" & Ascii.Lf & Ascii.Eot;
Put_Line ("sen : " & Moving_String.Image (Ms));
Put_Line ("length : " & Natural'Image (Moving_String.Length (Ms)));
Put_Line ("pos 4 :" & Integer'Image
(Character'Pos (Moving_String.Char_At (Ms, 12))));
end Test_Moving_String;
nblk1=1
nid=0
hdr6=2
[0x00] rec0=17 rec1=00 rec2=01 rec3=000
tail 0x2153d75a8862d3cff4492 0x42a00088462060003