getindexsettypes
getindexsettypes |
Purpose
Query the type of each index set of a named array entity
Synopsis
function xreflect~getindexsettypes(entityname:string):list of string
Argument
|
entityname
|
The name of the public entity to query
|
Return value
|
|
List of the value types; one of the following constants for each index set of the array:
|
Example
The following:
public declarations
myarr: array(set of integer,set of string) of real
end-declarations
writeln('index set types=',getindexsettypes('myarr'))
produces this output:
index set types=[`integer',`string']
Further information
1. If the specified entity name cannot be found, the model will terminate with a runtime error.
2. If the specified entity is not an array, the model will terminate with a runtime error.
Related topics
© 2001-2020 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.
