Quote:
Originally Posted by fysiks
It calls strlen() native every iteration. Same as the first code you posted. Bad.
|
Isn't it the same as doing this?
Code:
new string[256] = "something long, that's what she said.";
new i = 0, len = strlen(string);
for (; i < len; i++)
//...code
Just wondering if it's different in PAWN then the other languages I use.
Quote:
Originally Posted by fysiks
Alos, this forum is not for asking questions. Ask in scripting help.
|
Sorry.
__________________