Hello everyone, I'm having a little difficulty trying to get a String to store a value to a StringBuffer. I'm thinking that I need to transfer the StringBuffer named major to major.toString however I need to assign it to a specific element named index. The error I am recieving is "Not an Expression Statement at Line 82."
Well anyway. Maybe someone could help me with the probable brain fart I am having. Any help would be greatly apperciated. Thanks Jim
I don't know which line is Line 82. Can you please point it out so that we can help you pin point the error. If the line is the one indicated by William, then maybe you need to describe exactly what you meant by that line of code. That should help you determine how to change it. [ April 01, 2003: Message edited by: Layne Lund ]
As you see at the top of the code major is declared as a StringBuffer array and in using the logic he has already in line 82 which is array[index] == major; which says not an expression statement we are both really baffled by this. Any point on correct logic would be great.