help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deferred evaulation of function calls


From: Noel Yap
Subject: Re: deferred evaulation of function calls
Date: Thu, 27 May 2004 12:59:31 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

':=' evaluates the RHS at the time of the assignment.  '=' evaluates the RHS at 
the time of actual use.

HTH,
Noel

Robert P. J. Day wrote:

can you distinguish between immediate and deferred function calls the way you can between immediate and deferred references to variables? the docs are confusing on this. in section 4.4.1, "Wildcard Examples", there is an example of the "wildcard" function:

  objects := $(wildcard *.o)

the ":=" assignment seems to suggest that this is explicitly an immediate
assignment (a la variables).  but a quick test shows that using "=" seems
to produce the same effect. so what's the difference when it comes to function calls? the chapter on function calls doesn't address this, it
just launches into function examples.

rday


_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make





reply via email to

[Prev in Thread] Current Thread [Next in Thread]