Initializing help system before first use

setarrval

Purpose
Set the value of a cell of an array.
Synopsis
function setarrval(arr:array, val:any, ...):reflecterror
function setarrval(arr:array, val:any, lsndx:list):reflecterror
Arguments
arr 
An array or a union containing an array
val 
Value to be assigned
lsndx 
List of indices to use
Return value
The error status as a reflecterror
Further information
1. The procedure will use the arguments after val as the list of indices for accessing a cell of the array (this can also be an iterator) or it takes the provided list lsndx if this is the only argument.
2. If the provided value val is a string and the array is of a native type, this procedure will try to initialise the array cell from this textual representation. Otherwise the specified value must be of the same type as the array.
3. The execution status of the function is notified via its return value. If this value is ignored ( i.e. the function is used as a procedure) the execution of the model will be interrupted in case of error ( e.g. invalid number or type of indices).
Related topics
Module

© 2001-2025 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.