Problem setting value in an array
Emmanuel Pira <[email protected]> Wed, 05 May 2004 15:05:30 +0200
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
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.