comp.lang.ada
 help / color / mirror / Atom feed
From: nospam@thanks.com.au (Don Harrison)
Subject: Re: Parameter evaluation order
Date: 1998/04/07
Date: 1998-04-07T00:00:00+00:00	[thread overview]
Message-ID: <Er17n7.MA0@syd.csa.com.au> (raw)
In-Reply-To: matthew_heaney-ya023680000504982157020001@news.ni.net


Mark.Rutten wrote:

:I compiled a procedure call similar to the following
:
:  proc(func_one,func_two);
:
:The program relies on func_one being called _before_ func_two..

IMO, the problem is that Func_One generates a side-effect on which Func_Two
depends. Remove the side-effect and the problem will disappear!

I think what you really want is:

  do_side_effect;
  proc (func_one, func_two);.


Don.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Don Harrison        doELIDEnh@syd.csa.com.au






  reply	other threads:[~1998-04-07  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-05  0:00 Parameter evaluation order Mark.Rutten
1998-04-05  0:00 ` Matthew Heaney
1998-04-07  0:00   ` Don Harrison [this message]
1998-04-09  0:00   ` Simon Wright
1998-04-10  0:00     ` Matthew Heaney
1998-04-10  0:00       ` Simon Wright
1998-04-11  0:00         ` Robert Dewar
1998-04-06  0:00 ` William D. Ghrist
1998-04-06  0:00 ` Corey Ashford
1998-04-08  0:00 ` Glenden Lee
1998-04-09  0:00   ` Robert Dewar
     [not found]     ` <Er5Ir9.5Ip@world.std.com>
1998-04-09  0:00       ` Tucker Taft
1998-04-16  0:00         ` Nick Roberts
1998-04-17  0:00           ` Robert Dewar
1998-04-09  0:00       ` Peter Amey
replies disabled

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