Guest User

Untitled

a guest
Aug 30th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 0.63 KB | None | 0 0
  1.    if Info.Flags.Modules then
  2.       Put ("Modules info present", Screen_Width_Range'First, Line);
  3.  
  4.       Line := Line + 1;
  5.  
  6.       if Info.Modules.Count = 2 then
  7.          declare
  8.             package To_Modules is new System.Address_To_Access_Conversions
  9.               (Object => Modules);
  10.  
  11.             Modules : To_Modules.Object_Pointer := To_Modules.To_Pointer
  12.               (Info.Modules.First);
  13.             pragma Unreferenced (Modules);
  14.          begin
  15.             Put ("2 modules loaded is correct",
  16.                  Screen_Width_Range'First, Line);
  17.  
  18.             Line := Line + 1;
  19.          end;
  20.       end if;
  21.    end if;
Add Comment
Please, Sign In to add comment