??? 06/23/06 11:46 Read: times Msg Score: +2 +1 Good Answer/Helpful +1 Informative |
#118935 - Spaghetti code Responding to: ???'s previous message |
Its really a very excellent example of spaghetti code:
http://en.wikipedia.org/wiki/Spaghetti_code So nobody was able to read it, follow it, understand it and find bugs. You should rewrite it in such a manner, that small subroutines are used with a RET on its end and a header statement, which declare the parameter passing and the function of the module. And at first try to do it for only a single switch. Only then if it works you can expand it for 2 ... 8 switches. Peter |