Re: Problem with visibility of generic package help please
From: Martin Krischik (krischik_at_users.sourceforge.net)
Date: 12/16/03
- Next message: Martin Krischik: "Re: sed and perl - yuck [Was Re: Preprocessor functionality equivalent ideas needed]"
- Previous message: Ludovic Brenta: "Re: [announcement] SYSAPI and SYSSVC for Windows"
- In reply to: Ute: "Problem with visibility of generic package help please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 16 Dec 2003 22:00:57 +0100
Ute wrote:
> hello,
>
>
> with Ada.Text_IO; use Ada.Text_IO;
>
> with Ada.Float_Text_IO; use Ada.Float_Text_IO;
>
> with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
>
> with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
>
> with generic_sort;
Hind for readability: don't "use" as much. it is better to rename:
package F_IO renames Ada.Float_Text_IO;
package I_IO renames Ada.Integer_Text_IO;
package IO renames Ada.Text_IO;
That way you can see where which comand comes from. Also you avoid name
clashes.
With Regards
Martin
-- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com
- Next message: Martin Krischik: "Re: sed and perl - yuck [Was Re: Preprocessor functionality equivalent ideas needed]"
- Previous message: Ludovic Brenta: "Re: [announcement] SYSAPI and SYSSVC for Windows"
- In reply to: Ute: "Problem with visibility of generic package help please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|