blob: 89e26b9aec8496005f2263300d0e55b729e2fa70 [file] [log] [blame]
package body FILO is
function Equal (Str : String; Buf : Buffer_Type) return Boolean is
begin
for I in Str'Range loop
if Character'Pos (Str (I)) /= Buf (Buf'First + (I - Str'First)) then
return False;
end if;
end loop;
return True;
end Equal;
end FILO;