tengo duda en estos errores - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: tengo duda en estos errores (
/showthread.php?tid=276533)
tengo duda en estos errores -
chucho - 14.08.2011
Por que me dan esos errores ??
pawn Код:
C:\DOCUME~1\~1.CHU\CONFIG~1\Temp\Rar$DI00.547\premium.pwn(219) : error 047: array sizes do not match, or destination array is too small
C:\DOCUME~1\~1.CHU\CONFIG~1\Temp\Rar$DI00.547\premium.pwn(220) : error 047: array sizes do not match, or destination array is too small
C:\DOCUME~1\~1.CHU\CONFIG~1\Temp\Rar$DI00.547\premium.pwn(293) : error 047: array sizes do not match, or destination array is too small
C:\DOCUME~1\~1.CHU\CONFIG~1\Temp\Rar$DI00.547\premium.pwn(467) : error 047: array sizes do not match, or destination array is too small
C:\DOCUME~1\~1.CHU\CONFIG~1\Temp\Rar$DI00.547\premium.pwn(507) : error 047: array sizes do not match, or destination array is too small
C:\DOCUME~1\~1.CHU\CONFIG~1\Temp\Rar$DI00.547\premium.pwn(542) : error 047: array sizes do not match, or destination array is too small
C:\DOCUME~1\~1.CHU\CONFIG~1\Temp\Rar$DI00.547\premium.pwn(627) : error 047: array sizes do not match, or destination array is too small
C:\DOCUME~1\~1.CHU\CONFIG~1\Temp\Rar$DI00.547\premium.pwn(825) : error 021: symbol already defined: "strtok"
C:\DOCUME~1\~1.CHU\CONFIG~1\Temp\Rar$DI00.547\premium.pwn(839) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
9 Errors.
Respuesta: tengo duda en estos errores -
Daniel-92 - 14.08.2011
El array de destino es muy pequeсo o diferente al que quiere igualar
pawn Код:
//Esto daria un error
new string_1[10];
new string_2[20];
string_1 = string_2;
//la cantidad de celdas de string_1 es diferente a string_2
soluciуn aumenta la cantidad de celdas del array
Re: tengo duda en estos errores -
rubensm - 14.08.2011
Si posteas el cуdigo tambien es mucho mejor...