Path: chuka.playstation.co.uk!news From: asc@netlink.ch (Yannick Suter) Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: to many code?? Date: Wed, 15 Jul 1998 13:45:33 GMT Organization: Nowadays Lines: 40 Message-ID: <35acb06b.12526519@news.playstation.co.uk> References: <35a92869.9830882@news.playstation.co.uk> <35aaae67.31933708@news.playstation.co.uk> <35AC5E13.22A8@dial.pipex.com> Reply-To: asc@netlink.ch NNTP-Posting-Host: pppb208.netlink.ch X-Newsreader: Forte Free Agent 1.1/32.230 >I dont mean to sound patronizing, but did you remember to put a 'break;' >at the end of each 'case' code? > >Just a thought. hehe.. nono.. it was not that trival! =) coz.. pseudoCode.. 1. version! void blabla(void) { several calculations.. switch-command.. } // 55 fps everyThing worked fine.. but I had to add some more code to it.. so: void blabla(void) { several calculations.. switch-command.. calcs.. and one more if-command } // 15fps! and after adding the new codeSegment nothing worked normal anymore! .. ez! after rewritting the switchCommand, everyThing was fine again. BUT - I tried it yesterday.. if I put the whole switchCommand in a new (own) little procedure, it ok too!! hrmm.. I didn't tried to understand it.. seems really to be a bug.. but everything's fine now.. Yan AsC . www.netlink.ch/nowadays Yan . www.netyaroze-europe.com/~yannick