Initializing help system before first use

getstructtype

Purpose
This subroutine is deprecated and will be removed in a future release. Use subroutine findident of module mmreflect instead.
Query the structural type of an entity
Synopsis
function xreflect~getstructtype( entityname:string ):string
Argument
entityname 
The name of the public entity to query
Return value
 
The structure type, equal to one of the following constants:
XREFLECT_STR_ARR 
array
XREFLECT_STR_CONST 
scalar constant
XREFLECT_STR_REF 
scalar variable
XREFLECT_STR_SET 
set
XREFLECT_STR_UNSUPPORTED 
a structural type not supported by xreflect
XREFLECT_NOT_FOUND 
entityname was not found in the dictionary
Example
The following:
public declarations
  myvar: string,
  myarr: array(range) of real
end-declarations
writeln('myvar=',getstructtype('myvar'))
writeln('myarr=',getstructtype('myarr'))
produces this output:
myvar=variable
myarr=array
Further information
1. The structural type of an entity defines how it structure(s) the values it stores. For example, the structural type of an array of integer is XREFLECT_STR_ARR.
2. If the specified entity name cannot be found, the function will return XREFLECT_NOT_FOUND.
Related topics

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