--- Gary Monger <[EMAIL PROTECTED]> wrote:

> There's also D @("MyFunct2(."_VarName_")")
> 

That will work, too. :-)

Actually, I was thinking about that on the train this morning, and
though they look equivalent, I actually think this is preferable from
an implementation point of view. In principle, any code invoked with an
XECUTE statement can also be invoked through some combination of
indirect commands.  But to carry out this transformation, you
effectively need a little embedded MUMPS interpreter. Command
indirection is bit more like the use of thunks in languages like
Algol-60 or Scheme, where little bits of code are packaged up to be
executed on demand. 

(Interesting side note: The very word "thunk", which essentially means
a dynamic parameterless procecdure, was coined by the developers of
Algol-60 when they needed a mechanism to implement call by name
semantics in that language.)

===
Gregory Woodhouse  <[EMAIL PROTECTED]>
"All truth passes through three stages: First, it is ridiculed.
Second, it is violently opposed. Third, it is accepted as
being self-evident."
--Arthur Schopenhauer


-------------------------------------------------------
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&kid=103432&bid=230486&dat=121642
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to