[fixed]Help using dini
#9

Quote:
Originally Posted by cοοp
1. Problems with edited scripts belongs in the source script's thread.
2. You still didn't tell me what line "695" is.
pawn Код:
/*695*/ fileip = dini_Get(path, "ip");
You can see it in first post.

Anyway:
Quote:

Error 047: Array sizes do not match, or destination array is too small:
For array assignment, the arrays on the left and the right side of the
assignment operator must have the same number of dimensions.
In addition:
⋄ for multi-dimensional arrays, both arrays must have the same size;
⋄ for single arrays with a single dimension, the array on the left side of the assignment operator must have a size that
is equal or bigger than the one on the right side.
When passing arrays to a function argument, these rules also hold for the array that is passed to the function (in the
function call) versus the array declared in the function definition.
When a function returns an array, all return statements must specify an array with the same size and dimensions.

Edit:
Quote:
Originally Posted by Jefff
dini_Get returns MAX_STRING so 255, change
Код:
fileip[16]
to
Код:
fileip[255]
You don't need 255, it's too big.
Reply


Messages In This Thread
[fixed]Help using dini - by dice7 - 05.07.2009, 14:02
Re: Help using dini - by refshal - 05.07.2009, 14:04
Re: Help using dini - by dice7 - 05.07.2009, 14:06
Re: Help using dini - by refshal - 05.07.2009, 14:08
Re: Help using dini - by woot - 05.07.2009, 14:10
Re: Help using dini - by Jefff - 05.07.2009, 14:11
Re: Help using dini - by refshal - 05.07.2009, 14:13
Re: Help using dini - by dice7 - 05.07.2009, 14:13
Re: Help using dini - by Correlli - 05.07.2009, 14:13
Re: Help using dini - by refshal - 05.07.2009, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)