Error Messages/44504

< Error Messages
Revision as of 00:41, 1 September 2020 by Lchrisman (talk | contribs) (Created page with "== Error Message == ::<code>The index ''Project'' was passed to both the «I» and the «KeyIndex» parameters of Function Sort. These must be different indexes.</code> =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Message

The index Project was passed to both the «I» and the «KeyIndex» parameters of Function Sort. These must be different indexes.

Description

The «keyIndex» parameter is used in the function Sort to obtain a multi-key sort, where ties in a primary key are broken by the second key, and so on. This is done by stacking the keys in the 1st parameter along the «keyIndex», and then specifying the «keyIndex. The call looks like Sort(X, I, K), where I is the data point index, and K indexes the keys. It does not make sense for the same index to be used for both I and K, but if you see this error message, you've passed the same index to both index parameters.

See Also

Comments


You are not allowed to post comments.