On 1/27/06, Chris Richardson <[EMAIL PROTECTED]> wrote:
> Gary;
>
> Yes, what is preceived as ugly is often powerful.  This is the construction
> of the called routine with the name of the argument(s) dynamically
> generated.  I say argument(s) because VarName could be of a form,
> "P1,P2,.P3" and is the routine was constructed properly, then the argument
> list would have been;  D MyFunct2(.P1,P2,.P3)  Now we hope everyone has read
> ahead and knows about the period in front of P1 and P3.  These are "call by
> name" an not "call by value" as is P2.  Results can be returned via P1 and
> P3, but only the value of P2 is exposed.  Has that sufficiently confused
> everyone?  Confusion is the beginning of enlightenment.

Speaking of confusion, I'm not sure if I agree with the names you
specify, so perhaps I am confused.  Here are the three ways that I can
see to call a function:

#1  do MyFunct(MyVar)  <-- pass by value
#2  do MyFunct(.MyVar) <-- pass by reference
#3  do MyFunct("MyVar") <-- pass by name

It seems that you are naming method #2 "call by name"

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