• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

looping though and change the int value

 
ben riches
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone i have this little snipplet of code, and i wondered if there is a way that i can loop though this code, and every time i loop though it change the int num value?
thanks
ben
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The short answer is "yes you can change it." But somehow I don't think that's what you are looking for. However, your question isn't complete enough to give any more of an answer. How exactly do you want to change it? Perhaps you need to post more of your code so we can get a better picture of the context of this snippet.
Keep coding!
Layne
 
ben riches
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello i want to change the int vaule to the next that value that is in the hashtable hhh
is this possible?
ben
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you are using integers for the key of each value, a Vector would be much easier to use than a Hashtable. Is there any reason you are using a Hashtable?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic