Re: Problem setting value in an array

Nathan Fiedler <[email protected]> Wed, 05 May 2004 09:15:35 -0700
Newsgroups gmane.comp.java.jswat.user
Organization Blue Marsh Softworks
Message-ID <1083773734.8121.5.camel@nuts>
This is probably a bug and I will need to investigate. I've entered it
as bug 866 for version 3.x but I will fix it in 2.x as well.

thanks

n


On Wed, 2004-05-05 at 06:05, Emmanuel Pira wrote:
> Hello,
> I'm trying to set a value in an array ( int myArray[] = new int[10]; )
> using the following command :
> "set myArray[0] = 5"
> I've got the following message : "Invalid type on right-hand side of
> assignment: 5"
> I've try using cast : "set myArray[0] = (int) 5" but same message again.
> 
> What's wrong ?
> 
> WBR,
> Emmanuel.