This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: array has IndexOutOfBoundsException


sorry!!!!

I was mistaken indeed.


-----Original Message-----
From: Chris Dean [mailto:ctdean at mercedsystems dot com]
Sent: woensdag 12 maart 2003 18:15
To: Pinte_Stanislas at emc dot com
Cc: kawa at sources dot redhat dot com
Subject: Re: array has IndexOutOfBoundsException 



> seems clear to me:
> 
> you make a new array with one element (shape 0 2 0 9)....

Hmm, I thought that was an array with 18 elements.  That is, a 2x9
array.  For example, this works fine when making a 2x3 array:

#|kawa:217|# (define a (make-array (shape 0 2 0 3) 'O))
#|kawa:218|# (array-set! a 1 2 'E)
#|kawa:219|# a
#2a((O O O) (O O E))

Right?

Regards,
Chris Dean


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]