Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: raja naresh <rajanaresh89 <at> gmail.com>
Subject: Re: MAKE-ARRAY error
Newsgroups: gmane.lisp.clisp.general
Date: Sunday 6th November 2011 07:57:06 UTC (over 6 years ago)
Thanks a lot. I just realized I never evaluated for a particular element
inside a list which is an argument for some function. I've written macros
before so I know how to evaluate a form but it didn't strike me in this
case. Anyway, thanks a lot.

-Raja

On Sun, Nov 6, 2011 at 2:35 AM, Sam Steingold  wrote:

> > * raja naresh  [2011-11-06 02:16:23 -0500]:
> >
> >> (setf map (make-array '((parse-integer "5"))))
> >
> > *** - MAKE-ARRAY: dimension (PARSE-INTEGER "5") is not of type
`(INTEGER
> 0
> >  (,ARRAY DIMENSION-LIMIT))
>
> the single quote prevents evaluation.
> please try (setf map (make-array `(,(parse-integer "5"))))
>
> --
> Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10
(oneiric) X
> 11.0.11004000
> http://honestreporting.com http://truepeace.org http://palestinefacts.org
> http://dhimmi.com http://iris.org.il http://memri.org
> My inferiority complex is not as good as yours.
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
 
CD: 3ms