comp.lang.ada
 help / color / mirror / Atom feed
From: milo!edm@uunet.uu.net  (Ed Matthews)
Subject: Re: Need Ada question answered
Date: 15 Jan 92 22:24:11 GMT	[thread overview]
Message-ID: <1992Jan15.222411.6012@verdix.com> (raw)

In article <1992Jan14.205656.3388@cs.ucf.edu> csa@engr.ucf.edu (Carolyn Anderso
n) writes:
>
>I have a data type defined in a package.  I have given the main routine 
>visibility of the type with a WITH statement and qualified my variable 
>declarations with dot notation.  Now, I want to test two quantities of this 
>data type for equality.  How do I give the main routine visibility to the 
>equality operator without the use of a USE clause?

with Package;
procedure Main_Routine is
	function "="(L, R : in Package.Data_Type) return Boolean
		renames Package."=";
begin
	null;
end Main_Routine;
-- 

Ed Matthews                                                edm@verdix.com
Verdix Corporation Headquarters                            (703) 378-7600
Chantilly, Virginia

             reply	other threads:[~1992-01-15 22:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-01-15 22:24 Ed Matthews [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-01-14 20:56 Need Ada question answered Carolyn Anderson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox