array has IndexOutOfBoundsException

Pinte_Stanislas@emc.com Pinte_Stanislas@emc.com
Wed Mar 12 17:16:00 GMT 2003


sorry!!!!

I was mistaken indeed.


-----Original Message-----
From: Chris Dean [mailto:ctdean@mercedsystems.com]
Sent: woensdag 12 maart 2003 18:15
To: Pinte_Stanislas@emc.com
Cc: kawa@sources.redhat.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



More information about the Kawa mailing list