comp.lang.ada
 help / color / mirror / Atom feed
* generic call backs
@ 1994-09-27 17:08 Ewan Benson
  1994-09-28 12:13 ` Kevin V. Sobilo
  0 siblings, 1 reply; 5+ messages in thread
From: Ewan Benson @ 1994-09-27 17:08 UTC (permalink / raw)


Hi,

I'm posting this for a (remote) colleague who doesn't have access to the net 
at present (and I haven't seen a FAQ for this group) so here goes.

He has two packages A and B

Package A contains a 'with B'

Package B contains a call to a subroutine in A, but for his own reasons he 
does not want to use a 'with B' in package A. He's convinced it can be done
but can't find any info in his Booch reference.

Any help in this direction would be gratefully received

Thanks for your patience

Ewan (going back to comp.lang.c and the int main (void) flames !!)



############################################################################
# Ewan Benson                                    #                         #
# Schlumberger Industries Electricity Management #                         # 
#                                                # For every action there  # 
# E-Mail benson@felixstowe.em.slb.com            # is an equal and         #
# Tel ++ 44 394 694472                           # opposite criticism.     #
# Fax ++ 44 394 694444                           #                         #
#                                                #                         #
############################################################################



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: generic call backs
  1994-09-27 17:08 generic call backs Ewan Benson
@ 1994-09-28 12:13 ` Kevin V. Sobilo
  1994-09-28 21:29   ` Robert Dewar
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin V. Sobilo @ 1994-09-28 12:13 UTC (permalink / raw)


Ewan Benson (benson@felixstowe.em.slb.com) wrote:
: He has two packages A and B

: Package A contains a 'with B'

: Package B contains a call to a subroutine in A, but for his own reasons he 
: does not want to use a 'with B' in package A. He's convinced it can be done
: but can't find any info in his Booch reference.


Under VAX Ada, you can have circular with statments, but to compile,
you must load one into the library (load only does a syntax check I think),
then do a recompile.

By the way what kinda set up are you working under???


--

/					   				  \ 
|					   \\                              |
|	Kevin V. Sobilo			    \\                             |
|	sobi0268@mary.cs.fredonia.edu        \\  //   "Only Amiga Makes    |
|					      \\//     It Possible"        |
|					       \/                          |
| 	       "When the only tool you have is a hammer, 		   |
|	        everything begins to look like a nail."			   |
|                          - Lotfi Zadeh -				   |
|									   |
|		    "BEWARE OF BURPS WITH CHASERS" 			   |
\==========================================================================/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: generic call backs
  1994-09-28 12:13 ` Kevin V. Sobilo
@ 1994-09-28 21:29   ` Robert Dewar
  1994-09-29 21:03     ` Wayne Magor
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Dewar @ 1994-09-28 21:29 UTC (permalink / raw)


Are you really saying that Dec Ada allows two package specs to with one
another? surely not, this is a clearly illegal program, which any Ada
compiler should be expected to detect and disallow.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: generic call backs
  1994-09-28 21:29   ` Robert Dewar
@ 1994-09-29 21:03     ` Wayne Magor
  1994-10-03  4:50       ` Robert Dewar
  0 siblings, 1 reply; 5+ messages in thread
From: Wayne Magor @ 1994-09-29 21:03 UTC (permalink / raw)



In article <36cn7u$a3k@gnat.cs.nyu.edu>, dewar@cs.nyu.edu (Robert Dewar) writes:
>
>Are you really saying that Dec Ada allows two package specs to with one
>another? surely not, this is a clearly illegal program, which any Ada
>compiler should be expected to detect and disallow.

I hate to say this Robert, but this is a dumb question.  You of all people
should know better than to even ask this.

Wayne.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: generic call backs
  1994-09-29 21:03     ` Wayne Magor
@ 1994-10-03  4:50       ` Robert Dewar
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Dewar @ 1994-10-03  4:50 UTC (permalink / raw)


Wayne says

"I hate to say this Robert, but this is a dumb question.  You of all people
should know better than to even ask this."

fine, it's a dumb question, but that's what I took someone to say, and I
still don't know if I am being dumb because the answer is "of course Dec
doesn't allow this", or because it is obvious from the original post that
Dec does allow this. I trust it is the first, but I do not have ESP! As
my original post makes clear I hope, I would be amazed to find that Dec
allowed this, even with the peculiar special switch that was mentioned
in the original post.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-10-03  4:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-09-27 17:08 generic call backs Ewan Benson
1994-09-28 12:13 ` Kevin V. Sobilo
1994-09-28 21:29   ` Robert Dewar
1994-09-29 21:03     ` Wayne Magor
1994-10-03  4:50       ` Robert Dewar

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