[Ecls-list] [newbie] ECL and C++

ponch ponch at autistici.org
Mon Oct 1 17:06:28 UTC 2007


Hi all,
     i'm trying to write a program scriptable in lisp.

I don't understand what's wrong with the code attached.

The statement with (setq b "boo")(b) correctly return the value boo,
but in the first statement when i do this in two passes (setq a "foo")
and then (a) it returns a value NIL as if the two lisp fragments would
get executed in two different environment.

Any one can tell me where I'm wrong?

Thanks in advance,
ponch



-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_ecl.cc
Type: text/x-c++src
Size: 987 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20071001/f2c6e455/attachment.cc>


More information about the ecl-devel mailing list