I don't take this hard, and I don't want to fight someone, I just want to know what's so bad about the code I posted...
Of course I could show the IrrExtensions code too, there's nothing secret about it, I simply removed it because the error wasn't there definatly and you couldn't get the code to compile if the code was there, maybe I should just commented them out (but then the code would be about double as long)...
But you will see this code soon, because it's an example for a new extension...
About the return thing, you're right, and this example shows that I'm right with this, but if you look I added all returns like I always told, I simply didn't recognised that the default block always returns true...
hybrid wrote:And all of us just wanted to help you (in a definitely friendly way)
never thought something else, again: I just want to know why the code is bad for posting here, like CuteAlien said...
CuteAlien wrote:Yeah, but you're an experienced coder so your requirements are higher
Hey, it wasn't that bad - just could have been even better.
yeah, if I knew where the error was I just posted this line, or wait, no I didn't post this, because I then knew what the error was...