Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Sam Steingold <sds <at> gnu.org>
Subject: Re: MAKE-ARRAY error
Newsgroups: gmane.lisp.clisp.general
Date: Sunday 6th November 2011 07:35:54 UTC (over 5 years ago)
> * 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: 20ms