20.07.2011, 11:48
did that and same :
and that happened :
Quote:
} /*strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; }*/ public split(const strsrc[], strdest[][], delimiter) { new i, li; new aNum; new len; while(i <= strlen(strsrc)){ if(strsrc[i]==delimiter || i==strlen(strsrc)){ len = strmid(strdest[aNum], strsrc, li, i, 12 ![]() strdest[aNum][len] = 0; li = i+1; aNum++; } i++; } return 1; } |
and that happened :
Quote:
D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26036) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26075) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26082) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26155) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26267) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26337) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26367) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26397) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26515) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26726) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26735) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26763) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(26787) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(27213) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(27956) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28307) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28316) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28385) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28394) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28539) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28577) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28623) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28820) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28885) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28893) : error 047: array sizes do not match, or destination array is too small D:\NEXTEV~1\GAMEMO~1\NE-RP.pwn(28953) : error 047: array sizes do not match, or destination array is too small Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. |