[Top][All Lists]

[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.


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.


Help-make mailing list

reply via email to

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