Error Messages/40265

< Error Messages
Revision as of 19:17, 28 April 2016 by Bbecane (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Warning text

 In the function Array, the size of the index J does not match the size of the data to be re-indexed.
 If you ignore, the data will be truncated or padded with null values to match the length of the index.


Suppose you have an index defined:

Index J := [1, 2, 3, 4]

Then if you evaluate the expression:

Array(J, ['a', 'b'])

the warning will result, since J has 4 elements and you've supplied only two items. In this example, the result will be an array indexed by J, but with the last two elements set to Null.


If this is as you intended, then ignore, or better, place the expression inside IgnoreWarnings(...).

See Also


You are not allowed to post comments.