Quote:
Originally Posted by
misterpinkey
Is there a way to use a loop or something to consolidate this to make it smaller?
You could make each option a function, then have the case statement call each function for each option.
Or have each functions name be a prefix followed by a number, then read the number, append to the function prefix then call that.