|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 1100 (0x44c)
Types: TextFile
Names: »B«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
└─⟦124ff5788⟧ »DATA«
└─⟦this⟧
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
└─⟦6f12a12be⟧ »DATA«
└─⟦this⟧
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »DATA«
└─⟦this⟧
with Field_Parser;
with Socket_Defs;
with Socket_Port;
package body Uncanvas is
-- pos: integer;
-- the_value: socket_defs.msg;
-- last: positive;
Handler_Field_Position : Positive := 4;
package Message_Parser is new Field_Parser;
function Get_Handler (From : in String) return Socket_Port.Object is
Pos : Integer;
The_Value : String (1 .. From'Length);
Last : Positive;
Field_Position : Positive := 1;
begin
Message_Parser.Open (From, Pos);
while not Message_Parser.Done (From, Pos) and then
Field_Position /= Handler_Field_Position + 1 loop
Message_Parser.Value (From, Pos, The_Value, Last);
Message_Parser.Next (From, Pos);
Field_Position := Field_Position + 1;
end loop;
if Field_Position = Handler_Field_Position + 1 then
return Socket_Port.Create (Natural'Value (The_Value (1 .. Last)));
else
return Socket_Port.Undefined;
end if;
end Get_Handler;
end Uncanvas;