Difference between revisions of "Error Messages/40608"

m
Line 1: Line 1:
Error message
+
[[Category: Error messages]]
 +
 
 +
==Error message==
 +
<pre style="background:white; border:white; margin-left: 1em; font-style:italic">
 
  Assignment cannot create an edit table definition from an array result
 
  Assignment cannot create an edit table definition from an array result
 
  when the array contains a local index.
 
  when the array contains a local index.
 +
</pre>
 +
 +
==Cause==
 +
Analytica can't assign an array that contains a local index to a global variable. If it could, it would create a global variable with an edit table indexed by a local index, which can't be saved when the model is saved. 
 +
 +
==Remedies==
 +
Usually, the best work around is to create a global index, and reindex the array by the global index before assigning it the global variable. That will work fine.
  
<nowiki> </nowiki>Analytica can't assign an array that contains a local index to a global variable. If it could, it would create a global variable with an edit table indexed by a local index, which can't be saved when the model is saved.  Usually, the best work around is to create a global index, and reindex the array by the global index before assigning it the global variable. That will work fine.
+
==See Also==
 +
* [[Assignment Operator :=]]
 +
* [[Working with Arrays (Tables)]]
 +
* [[Arrays and Indexes]]
 +
* [[Local Indexes]]
 +
* [[Definition]]
 +
* [[Class]]

Revision as of 23:10, 30 March 2016


Error message

 Assignment cannot create an edit table definition from an array result
 when the array contains a local index.

Cause

Analytica can't assign an array that contains a local index to a global variable. If it could, it would create a global variable with an edit table indexed by a local index, which can't be saved when the model is saved.

Remedies

Usually, the best work around is to create a global index, and reindex the array by the global index before assigning it the global variable. That will work fine.

See Also

Comments


You are not allowed to post comments.