Board index » cppbuilder » a lisp question

a lisp question


2008-05-01 02:55:17 PM
cppbuilder103
Hi,
Sory for asking a lisp question in this news group. I'll appreciate very
much if someone can answer it.
How can I pass an argument with a reference to a function. The default
is call by value.
Thanks
Sabetay
 
 

Re:a lisp question

Sabetay Toros < XXXX@XXXXX.COM >writes:
Quote
Hi,

Sory for asking a lisp question in this news group. I'll appreciate
very much if someone can answer it.

How can I pass an argument with a reference to a function. The
default is call by value.
This is *really* off topic, please use a more appropriate group in the
future.
But to answer your question, you sharp-quote the function:
#'function-name
(and in the function that receives it, it uses either apply or funcall
to invoke it.)
--
Chris (TeamB);