HELP with Error 021 and 047
#1

hey i need some help please i get these errors when compiling? thanks for all your help

(2511 : error 021: symbol already defined: "strtok"

(25133) : error 047: array sizes do not match, or destination array is too small

(26644) : error 047: array sizes do not match, or destination array is too small

(26704) : error 047: array sizes do not match, or destination array is too small

(26757) : error 047: array sizes do not match, or destination array is too small

(27425) : error 047: array sizes do not match, or destination array is too small

(27484) : error 047: array sizes do not match, or destination array is too small

(28165) : error 047: array sizes do not match, or destination array is too small

(28193) : error 047: array sizes do not match, or destination array is too small

(28204) : error 047: array sizes do not match, or destination array is too small

(28264) : error 047: array sizes do not match, or destination array is too small

(28533) : error 047: array sizes do not match, or destination array is too small

(28560) : error 047: array sizes do not match, or destination array is too small

(28590) : error 047: array sizes do not match, or destination array is too small

(2859 : error 047: array sizes do not match, or destination array is too small

(28632) : error 047: array sizes do not match, or destination array is too small

(28640) : error 047: array sizes do not match, or destination array is too small

(28673) : error 047: array sizes do not match, or destination array is too small

(2871 : error 047: array sizes do not match, or destination array is too small

(28781) : error 047: array sizes do not match, or destination array is too small

(28839) : error 047: array sizes do not match, or destination array is too small

(28847) : error 047: array sizes do not match, or destination array is too small

(28882) : error 047: array sizes do not match, or destination array is too small

(28890) : error 047: array sizes do not match, or destination array is too small

(29117) : error 047: array sizes do not match, or destination array is too small

(29171) : 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.
Reply
#2

Can you show script ?
Reply
#3

all of it or just the error lines?
Reply
#4

Just show the line . And the error is on your array , show error line
Reply
#5

his is the first 047 error i had: Line (25133) return result;
Reply
#6

Show some lines before it , From the start of the callback
Reply
#7

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++;
}
Reply
#8

Edit your file up and show me the line with the errors
and put [pawn ] before the post and [/pawn] at the end of it
Reply
#9

The: symbol is meant to be 1 2 8 )
Reply
#10

I dont understand anything in that order -.-'

The problem is with your arraw .

on pawno press ctrl + f and search arraw .

Tell me that line with array and the number that it shows
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)