Initializing help system before first use

XSLPuserfuncinfo

XSLPuserfuncinfo


Purpose
Get or set user function declaration information
Synopsis
int XSLP_CC XSLPuserfuncinfo(XSLPprob prob, int iFunc, int InfoType, void *Info);
Arguments
Prob 
The current SLP problem.
iFunc 
Index of the user function
InfoType 
Type of information to be set or retrieved
Info 
Address of information to be set or retrieved
Example
The following example sets the external name of user function number 4 to "ANewFunc":
XSLPuserfuncinfo(Prob,4,XSLP_SETUFNAME,"ANewFunc");
Further information

This function allows the setting or retrieving of individual items for a user function. The following constants are provided for user function handling:

XSLP_GETUFNAME
Retrieve the external name of the user function
XSLP_GETUFPARAM1
Retrieve the first string parameter
XSLP_GETUFPARAM2
Retrieve the second string parameter
XSLP_GETUFPARAM3
Retrieve the third string parameter
XSLP_GETUFARGTYPE
Retrieve the argument types
XSLP_GETUFEXETYPE
Retrieve the linkage type
XSLP_SETUFNAME
Set the external name of the user function
XSLP_SETUFPARAM1
Set the first string parameter
XSLP_SETUFPARAM2
Set the second string parameter
XSLP_SETUFPARAM3
Set the third string parameter
XSLP_SETUFARGTYPE
Set the argument types
XSLP_SETUFEXETYPE
Set the linkage type

For information which sets or retrieves character string information, Info is the string to be used or a buffer large enough to hold the string to be retrieved.
For other information, Info is the address of an integer containing the information or to receive the information.


Related topics

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