![]() |
Next without for compile error....... - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Next without for compile error....... (/showthread.php?tid=1128) |
Next without for compile error....... - genusis - 23-07-2007 this is pissing me off. is there a fix for this code at all because the next at the end keep saying next without for and when i take them out i have to keep adding end if to the end of the sub but it never stops weird. Code: ' ////////////////////////////////////// this is the part causing the problems Code: Next x thank you for your help. Re: Next without for compile error....... - Robin - 23-07-2007 Oh lawd. *cough* You've fucked up one of your fucking if, when, whiles or loops. Well done. Now go through your fucking code and actually read whats going on. This is why some people fucking indent their fucking code! So you can actually find out whats wrong with the fucking thing, ok? The broken if, when, while or loop is somewhere before your "while x = fuck" and before your "next x". Go look for it instead of annoying us with this fucking fucking problem. Re: Next without for compile error....... - genusis - 23-07-2007 well that was a little uncalled for. well thank you for helping me robin, i was so lost in what i was doing i forgot what i did to the loop lol. Re: Next without for compile error....... - Robin - 23-07-2007 IMHO I don't think it was. If you're going to ask us about the basics of the basics of code structure, at least use proper English. Re: Next without for compile error....... - bhenhur - 23-07-2007 genusis Wrote:this is pissing me off. is there a fixe for this code at all becuase the nexts at the end keep saying next without for and when i take them out i have to keep adding end if to the end of the sub but it never stops wierd.Who, when, wha?? ![]() People are not going to take you seriously if you don't put some effort into explaining yourself. I am not a great speller, so i use Firefox as my browser, it has spell check. :wink: |