Forum Discussion
naladar_65658
Sep 09, 2008Altostratus
Thanks for the response hoolio. The code I was showing actually used to be written in an if/elseif statement, but with Joe's help I was able to convert it to a switch so it would be more efficient.
I was thinking about this at lunch and I would be willing to bet that even if I could combine the two it would defeat the purpose of the having everything in a switch to begin with. The switch gets processed once, while if/elseif requires a lot more processing. If I told the switch to go get a data group, it would just add to the processing requirements. So although the data groups might make it easier manage (if it could be done at all) in the end it doesn't make it more efficient because of the extra calls/fetching.
Does that sound even remotely right?