On Fri, Jan 20, 2017 at 07:20:36PM +, dean wrote:
> I just came back to say that the above worked well for both strings and
> numbers entered directly as the passed functions argument but not (it seems
> :) ) for when the argument is supplied in a symbol. eval might well cope
> with that and if
This is how I did it where the argument to the canned/passed in function is
supplied as a symbol...
(de x2 (Num) (setq Res (* Num 2)))
(de fnfn (Canned_fn)
#(setq X (car (cdr Canned_fn))) ((car Canned_fn) (eval X)))
#replaced by single stage...
((car Canned_fn) (eval (car (cdr Canned_fn)))
Good bye Brett Stahlman :-(
You are now unsubscribed
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Thank you Alex...that's great.
I just came back to say that the above worked well for both strings and
numbers entered directly as the passed functions argument but not (it seems
:) ) for when the argument is supplied in a symbol. eval might well cope
with that and if not...I'll work on it.
Note,
On Fri, Jan 20, 2017 at 06:26:14PM +, dean wrote:
> I seem to be able to do this by
> (de some_fn (Canned_fn_and_arg..
>
> and then executing the Canned_fn_and_arg inside some_fn by doing
> ((car Canned_fn) (car (cdr Canned_fn)))
>
> Is this the right way or is there a slicker one
Hello Jon,
> In the docs there are lots of occurrences (2325) of “”, and also
> some (751, mainly within doc/form/) of “”. I haven’t checked which
> one is the most correct. However, in doc/form/refC.html, line 82, there’s a
> bad mix:
>
> +Chg
I'll change refC.html. Thanks for noticing!
> I
I seem to be able to do this by
(de some_fn (Canned_fn_and_arg..
and then executing the Canned_fn_and_arg inside some_fn by doing
((car Canned_fn) (car (cdr Canned_fn)))
Is this the right way or is there a slicker one?
Hi,
In the docs there are lots of occurrences (2325) of “”, and also
some (751, mainly within doc/form/) of “”. I haven’t checked which
one is the most correct. However, in doc/form/refC.html, line 82, there’s a bad
mix:
+Chg
I suspect there may be more of this mixed kind, but I don’t have ti