What am I doing wrong?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
(list :a 1)
> On 17 Dez., 11:48, Cecil Westerhof <Ce...@decebal.nl> wrote:
>> I read that with '(list a: 1)' you can make a property list. I tried
>> this with clisp (2.39), but I got:
>> *** - READ uit #<INPUT CONCATENATED-STREAM #<INPUT STRING-INPUT-STREAM> #<IO TERMINAL-STREAM>>: er is geen package met naam "A"
>> Mogelijkheden om opnieuw te beginnen:
>> ABORT :R1 ABORT
>>
>> What am I doing wrong?
>
> (list :a 1)
I did not look right. This is the way to work. Thanks.
> I read that with '(list a: 1)' you can make a property list. I tried
> this with clisp (2.39), but I got:
> *** - READ uit #<INPUT CONCATENATED-STREAM #<INPUT STRING-INPUT-STREAM> #<IO TERMINAL-STREAM>>: er is geen package met naam "A"
> Mogelijkheden om opnieuw te beginnen:
> ABORT :R1 ABORT
>
> What am I doing wrong?
Possibly a touch of dyslexia :)
It should be (list :a 1) not (list a: 1). The error is telling you clisp
couldn't understand what it read. It thinks the A: is part of a
reference to something in a package called A, but there is no package
caled A.
--
tcross (at) rapttech dot com dot au