Initializing help system before first use

# findattrdesc

Purpose
Find an attribute descriptor from its name.
Synopsis
`XPRMattrdesc findattrdesc(XPRMcontext ctx, int type, const char **name, int *atype);`
Arguments

ctx | Mosel's execution context
type | Type number for the attribute
name | Name of the attribute

Return value
Reference pointer to an attribute descriptor or NULL if no corresponding function could be found.
Further information
The attribute att of an entity of type T is obtained by calling the function get att returning an integer, a string, a real or a Boolean and taking as its only argument an entity of type T. This routine returns a descriptor of such a function that can be used with getattr in order to retrieve the corresponding attribute of an entity of the corresponding type.
Related topics
getattr.
Parent Topic Module types access

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