Can I ask a very timid question, what the heck is call by name.  Let's go back 
to COBOL FOR A MINUTE
ISCALL 'FUNC1' USING ...an example of call by name
Is77 FUNCNAME PIC X(8) VALUE 'FUNC2'.
CALL FINCNAME USING ...an example for call by name
Is none of them a call by name
Let's go to Perl
sub func1 {...}
$a = func1
$b = \&func1;
$a = $b;
is any of those call by mameThank youZA

Sent from Yahoo Mail on Android 
 
  On Fri, Feb 9, 2018 at 3:18 PM, Seymour J Metz<sme...@gmu.edu> wrote:   No  
lazy evaluation is not equivalent to call by name, or even similar. An example 
of using call by name would be a routine to use Simpson's Method for 
integration. The parameters would include the integration variable and the 
integrand, called by name. The value would in general be different every time 
that the routine referred to it. with a different value of the integration 
variable.



  

Reply via email to