On 1/27/06, Greg Woodhouse <[EMAIL PROTECTED]> wrote:
> --- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
>
...
It is call by name because the *name* of
> the expression X+1 is passed to the command, not its value. If X+1 were
> evaluated before X was set to 7 (say, during compilation), the result
> would be different.
>

Is this just true for the languages you describe, or is this a general
term in computer science?  I was calling it "call by name" because we
are passing the name of the variable rather than the variable itself. 
(And actually this is a call by value, but the value happens to be a
variable name).  I hate to say this, but I tend to get lost when you
show code from other languages.  I don't have the time right now to
try to figure it out.

Thanks :-)

Kevin


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to