Forums Register Login

multidimensional array

+Pie Number of slices to send: Send
I have been trying to get a multidimensional array to work, but it isn't and I don't know why. I need some help.

Should this work?
+Pie Number of slices to send: Send
What is wordvalue ? Why doesn't it start with a capital letter ?

Anyway, the problem is that + only works with Strings and primitives (except boolean).

What is it you want to achieve with your code ?
+Pie Number of slices to send: Send
What does "it doesn't work" mean here? Do you get a compiler error or an error while running the program? If so, then what is the error? How is the wordvalue array declared?
+Pie Number of slices to send: Send
my values aren't being carried over so I can add the value from my multidim array. I think the problem is because I am creating the array inside the loop which I think is re-creating it. let me know if I am wrong here.
+Pie Number of slices to send: Send
Please please, post some more code. It tells so much more than words.
+Pie Number of slices to send: Send
yeah that was the problem I double checked. Thanks any way.
+Pie Number of slices to send: Send
Kindly explain your problem clearly with code..
+Pie Number of slices to send: Send
 

King Goddard wrote:I think the problem is because I am creating the array inside the loop which I think is re-creating it. let me know if I am wrong here.



Yes. I think you are wrong here . why only *Thinking* . why cant you debug ?
+Pie Number of slices to send: Send
@last two posters: The question was resolved--no need to continue asking for information.
+Pie Number of slices to send: Send
 

Sebastian Janisch wrote:What is wordvalue ? Why doesn't it start with a capital letter ?


Why would it, it's a variable?
And inside of my fortune cookie was this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1076 times.
Similar Threads
sorting multidimensional arrays (int)
multidimensional array
Multidimensional ArrayList
Multidimensional Arrays
MultiDimensional Arrays
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 10:14:58.