Okay, I have a problem that is driving me crazy here... I have a vector with mixed values in it, i.e. String and int. I want to be able to compare the int values with another int variable passed to the function as a parameter. If I use the code
vectorname.elementAt(i) < intCompare
I get an error saying that you can't compare an object with an int. What do I have to do the the vector object to be able to compare it with the int value? Thanks in advance for your help.
Doug
vectorname.elementAt(i) < intCompare
I get an error saying that you can't compare an object with an int. What do I have to do the the vector object to be able to compare it with the int value? Thanks in advance for your help.
Doug