error 047: array sizes do not match, or destination array is too small :-> Help
#7

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.

Try to fix it by yourself or if you can't just post your code here. By ask how to fix it, people aren't able to reply you because they ( include me) don't know the code.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)