comp.lang.ada
 help / color / mirror / Atom feed
* "out" or "access"
@ 1998-10-21  0:00 =:-) Vincent
  1998-10-21  0:00 ` Jeff Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: =:-) Vincent @ 1998-10-21  0:00 UTC (permalink / raw)


What's the best way ?

package B is
    ...
    The_Procedure ( The_Parameter: out Integer );
    -- or The_Procedure ( The_Parameter: access Integer );
    ...
end B;
...
package body A is
    ...
    g_Toto: Integer; -- or aliased Integer
    ...
    procedure The_Other_Procedure is
    begin
        ...
        B.The_Procedure ( g_Toto );
        -- or  B.The_Procedure( g_Toto'Access );
        ...
    end;
    ...
end A;

Thanks.







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

end of thread, other threads:[~1998-11-16  0:00 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-21  0:00 "out" or "access" =:-) Vincent
1998-10-21  0:00 ` Jeff Carter
1998-10-21  0:00   ` Pat Rogers
1998-10-21  0:00     ` Martin C. Carlisle
1998-10-22  0:00       ` Pat Rogers
1998-10-22  0:00     ` Robert A Duff
1998-10-21  0:00 ` Tucker Taft
1998-10-22  0:00   ` Pascal Obry
1998-10-29  0:00     ` Robert A Duff
1998-10-29  0:00       ` Matthew Heaney
1998-10-29  0:00         ` Robert A Duff
1998-10-30  0:00           ` dennison
1998-10-30  0:00             ` Matthew Heaney
1998-10-30  0:00               ` Robert A Duff
1998-10-31  0:00                 ` Matthew Heaney
1998-11-01  0:00                   ` Robert A Duff
1998-11-01  0:00                     ` Matthew Heaney
1998-11-01  0:00                       ` Robert A Duff
1998-11-02  0:00                         ` Matthew Heaney
1998-11-03  0:00                           ` Simon Wright
1998-11-16  0:00                             ` Matthew Heaney
1998-10-31  0:00                 ` dewar
1998-10-31  0:00                   ` Matthew Heaney
1998-10-21  0:00 ` dennison

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