|
|
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, seg_02d300
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Histo, Text_Io, String_Utilities;
procedure Test is
subtype Alphabet is Character range 'a' .. 'z';
package Analysis is new Histo (Discret => Alphabet);
Filename : constant String := "!Local.An_English_Text_File";
File : Text_Io.File_Type;
Car : Character;
Histogramme : Analysis.Object := Analysis.Create_Histo;
begin
Text_Io.Open (File, Text_Io.In_File, Filename, "");
while not Text_Io.End_Of_File (File) loop
while not Text_Io.End_Of_Line (File) loop
Text_Io.Get (File, Car);
Car := String_Utilities.Lower_Case (Car);
if Car in 'a' .. 'z' then
Analysis.Inc_Item_Occ (Car, Histogramme);
end if;
end loop;
Text_Io.Skip_Line (File);
end loop;
Analysis.Put (Histogramme);
Analysis.Destroy_Histo (Histogramme);
end Test;
nblk1=1
nid=0
hdr6=2
[0x00] rec0=1a rec1=00 rec2=01 rec3=000
tail 0x217252cca843f57f7a854 0x42a00088462060003