Quote:
Originally Posted by Dygear
Why not:
Code:
new string[256] = "something long"
for (new i = 0, len = strlen(string); i < len; i++)
//...code
|
It calls strlen() native every iteration. Same as the first code you posted. Bad.
Alos, this forum is not for asking questions. Ask in scripting help.
__________________