Difference between revisions of "Error Messages/40107"

 
Line 23: Line 23:
  
 
==See Also==
 
==See Also==
* [[Working with Arrays (Tables)]]
+
* [[Tutorial: Arrays]]
 
* [[To edit a table]]
 
* [[To edit a table]]
 
* [[Table]]
 
* [[Table]]
 
* [[Array]]
 
* [[Array]]

Latest revision as of 19:13, 28 April 2016


Error message examples

An Edit Table function cannot be based on temporary indexes. Use the Array function instead.

Cause

All indexes to edit tables should be global objects (variables with nodes), and you tried to define one with a temporary index.

The following code would trigger this error by trying to define an edit table with a temporary index:

Index IndexA := 1..4;
Table(IndexA)('Red', 'Yellow', 'Green', 'Blue');

Remedy

  • Create a global index to define the edit table.

OR

  • Use Array instead of Table, which accepts temporary indexes.

See Also

Comments


You are not allowed to post comments.