Error Messages/40107

< Error Messages
Revision as of 21:50, 29 January 2010 by AManandhar (talk | contribs) (Created page with '= 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 …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  1. Create a global index to define the edit table.

OR

  1. User Array instead of Table, which accepts temporary indexes.



You are not allowed to post comments.

Comments
<comments />