[Coco] XLISP!!!!!

Manny manney at gmail.com
Tue May 31 01:12:33 EDT 2011


On 30 May 2011 22:28, "Willard Goosey" <goosey at virgo.sdc.org> wrote:

> >  I'll be playing with it for the next few days as some things are
> >quite different, it  being an 'older' lisp than I'm used to.  (Heh,
> >when I use Common Lisp, I get  accused of using an 'old lisp!')  Never
> >know, I might post something useful...
>
> Good luck, it's been driving me crazy.

So far, it doesn't play by some of Common Lisp' rules, so it's not my
bestest friend either...

> >
> > (setq x 1)
> > (+ x 1)
> >
> That's one of the things that makes me crazy.  LISP people go on and on
> about LISP's lack of syntax and then they have 2 different functions for
> assigning a value to a variable and they are both very fussy and take
> DIFFERENT parameters and no one will ever explain the difference.

I may be misunderstanding here, but (setq ...) is what I found works for
assignment in xlisp.  The (+ x 1) doesn't assign anything to x, it merely
returns what x + 1 is.

>
> > (defun add1 (x)
> >   (+ x 1))
>
> I haven't even tried to get a function that takes an arguement to work
> yet.
>

This doesn't work for me.  :(

-M.

> > Thanks Willard for finding this and sending me the binaries that got me
up and
> > running.  :)
>
> You're welcome!
> Willard
> --
> Willard Goosey  goosey at sdc.org
> Socorro, New Mexico, USA
> I search my heart and find Cimmeria, land of Darkness and the Night.
>  -- R.E. Howard
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco



More information about the Coco mailing list