I think he's saying that you overcomplicated it.
It may be correct but it's inefficient and that's the point I was making. Maybe it's just because I'm a professional programmer and I understand the impact bad code can have on performance.
mCeil(getRandom() * 100);
getRandom(1,100);
It's amazing how you can misunderstand everything I say.Code: [Select]mCeil(getRandom() * 100);That is less efficient than this:Code: [Select]getRandom(1,100);Do you understand yet?
Nope, but it is. And inefficient code adds up to give an inefficient application. If you write stuff, you get stuff.
It doesn't matter, it's correct.
It's redundant to shoot roadkill.
New sig :DEdit:Baw, no room.