4 with Return2_Pkg
; use Return2_Pkg
;
6 package body Return2
is
8 function Value_Internal
(Image
: String) return Result_Internal_T
is
10 return (Member
=> False);
13 type Result_T
is array (1 .. 2) of Result_Internal_T
;
15 function Value
(Img
: String) return T
is
16 My_F
: constant String := F
;
20 for I
in Result
'Range loop
21 if G
(My_F
, I
) /= "" then
22 Result
(I
) := Value_Internal
(G
(My_F
, I
));
23 if Result
(I
).Member
then
24 Value
(Result
(I
).Data
) := True;