Difference between revisions of "Error Messages/40620"

Line 14: Line 14:
 
= Remedies  =
 
= Remedies  =
  
If L has been defined as a list of objects/handles (Eg. [I, J, K, 'value']) then
+
If L has been defined as a list of objects/handles (Eg. [I, J, K, 'value']) then  
  
1. The parameter to MdArrayToTable can be changed from L to IndexValue(L). This will pass on the index value instead of the value to the function.
+
#The parameter to MdArrayToTable can be changed from L to IndexValue(L). This will pass on the index value instead of the value to the function.
 +
#Change L to a list of identifier.
  
2. Change L to a list of identifier.
+
If L is an index, set the Metaonly attribute of the index to 1.<br>
  
 
<br> <comments />
 
<br> <comments />

Revision as of 01:30, 21 January 2010

Error Message Examples

The third parameter, L, passed to MdArrayToTable, is not a 1-D array of identifiers.

You may encounter a subtlety here.  The expression provided for L is evaluated, so the value, rather than the index value, is used.
If you have defined an index L as a list of identifiers, such as [I,J,K,"value"], you must use IndexValue(L) as the third parameter
in order to use L's index value, rather than its evaluted value.  Alternatively, if L is an index, you can set its metaOnly
attribute to 1.

Cause

The third parameter, L, passed to MdArrayToTable is a list of objects/handles instead of being a list of identifiers.

Remedies

If L has been defined as a list of objects/handles (Eg. [I, J, K, 'value']) then

  1. The parameter to MdArrayToTable can be changed from L to IndexValue(L). This will pass on the index value instead of the value to the function.
  2. Change L to a list of identifier.

If L is an index, set the Metaonly attribute of the index to 1.



You are not allowed to post comments.

Comments
<comments />