|
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 - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Filtre_D_Entree, seg_042bdf
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io, Display; package body Filtre_D_Entree is Anticipation : array (1 .. 2) of Character; Compte : Natural := 0; ------------------------------------------------------------------------- procedure Entrer (L_Element : out Character) is begin if Display.Eol_Player then L_Element := Termine_Ligne; else Display.Read_Player (L_Element); end if; exception when others => Text_Io.Put_Line ("Erreur"); end Entrer; ------------------------------------------------------------------------- procedure Purger is begin Compte := 0; exception when others => Text_Io.Put_Line ("Erreur purger"); end Purger; ------------------------------------------------------------------------- procedure File_Entrer (L_Element : out Character) is begin if Compte = 0 then if Text_Io.End_Of_Line then L_Element := Termine_Ligne; if Text_Io.End_Of_Page then Anticipation (1) := Termine_Page; Compte := 1; if Text_Io.End_Of_File then Anticipation (2) := Termine_Fichier; Compte := 2; else Text_Io.Skip_Page; end if; else Text_Io.Skip_Line; end if; else Text_Io.Get (L_Element); end if; else L_Element := Anticipation (1); if Anticipation (1) /= Termine_Fichier then Anticipation (1) := Anticipation (2); Compte := Compte - 1; end if; end if; end File_Entrer; ------------------------------------------------------------------------- end Filtre_D_Entree;
nblk1=4 nid=4 hdr6=6 [0x00] rec0=21 rec1=00 rec2=01 rec3=00e [0x01] rec0=1c rec1=00 rec2=02 rec3=064 [0x02] rec0=04 rec1=00 rec2=03 rec3=000 [0x03] rec0=04 rec1=0d rec2=3d rec3=042 tail 0x21743877c86306b834f1f 0x42a00088462060003 Free Block Chain: 0x4: 0000 00 00 00 04 80 01 67 01 02 03 43 10 05 40 80 00 ┆ g C @ ┆