comp.lang.ada
 help / color / mirror / Atom feed
* I think I'm going to learn something
@ 2007-11-09 16:31 andrew
  2007-11-09 16:52 ` Pascal Obry
  0 siblings, 1 reply; 3+ messages in thread
From: andrew @ 2007-11-09 16:31 UTC (permalink / raw)


I have a situation I don't understand.  Here is my example:

package X
    procedure in_order(root: node_ptr; count: integer := 0);
    procedure post_order(root: node_ptr; count: integer := 0);
...
end X;

package body X
    procedure in_order(root: node_ptr; count: integer := 0) is
       ....
    begin
        ....
    end in_order;

    procedure post_order(root: node_ptr; count: integer := 0) is
        ....
    begin
        ....
    end post_order
end X;

Now, I have a main procedure that calls post_order but the output is
the output that was written in the in_order procedure.  Hmmm........I
don't get it.




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

end of thread, other threads:[~2007-11-09 16:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-09 16:31 I think I'm going to learn something andrew
2007-11-09 16:52 ` Pascal Obry
2007-11-09 16:58   ` andrew

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