* Need Ada question answered
@ 1992-01-14 20:56 Carolyn Anderson
0 siblings, 0 replies; 2+ messages in thread
From: Carolyn Anderson @ 1992-01-14 20:56 UTC (permalink / raw)
I have an Ada question and I don't know anyone around here that can help.
It invloves visibility and qualifying operators with dot notation.
Here is the situation:
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?
Thanks in advance.
Carolyn Anderson
csa@engr.ucf.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Need Ada question answered
@ 1992-01-15 22:24 Ed Matthews
0 siblings, 0 replies; 2+ messages in thread
From: Ed Matthews @ 1992-01-15 22:24 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1992-01-15 22:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1992-01-15 22:24 Need Ada question answered Ed Matthews
-- strict thread matches above, loose matches on Subject: below --
1992-01-14 20:56 Carolyn Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox