Initializing help system before first use

# setindices

Purpose
Set the index tuple of an iterator.
Synopsis
`procedure setindices(it:iterator, lsndx:list)`
`procedure setindices(it:iterator, ...)`
Arguments

it | An iterator
lsndx | List of indices to use

Further information
1. The procedure will use the arguments after it as the list of indices forming the index tuple or it takes the provided list lsndx if this is the only argument. After this call the iterator is in state ITER_READY even if the designated cell does not exist in the array.
2. This procedure will cause a runtime error if the program is trying to set indices that are not compatible with the corresponding indexing sets of the reference array ( e.g. incompatible type or non-existent element of a finalised set).
3. Trying to use this procedure on an unbound iterator will cause a runtime error.
Related topics
getindices.
Module
mmreflect
Parent Topic mmreflect

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.