L
lmefford
I need some help comparing a list of textboxes and taking the results
and ranking them.
What I'm wanting to do is avoid a huge nested if/then-else statement
and I dunno if there is an easy way to compare about 5 or 6 textboxes
and then assign them to variables or an array to be called on later so
that it doesn't matter what textbox I put the numbers in, they all
come out in the order I want (least to greatest in this case)
Does anybody have any hints for this to make the code shorter and
avoid those nasty nested statements that can wind up causing trouble?
and ranking them.
What I'm wanting to do is avoid a huge nested if/then-else statement
and I dunno if there is an easy way to compare about 5 or 6 textboxes
and then assign them to variables or an array to be called on later so
that it doesn't matter what textbox I put the numbers in, they all
come out in the order I want (least to greatest in this case)
Does anybody have any hints for this to make the code shorter and
avoid those nasty nested statements that can wind up causing trouble?