udfGetNumUsrStrs()

Return the number of user strings supplied in the input file.

Syntax

nUsrStrs = udfGetNumUsrStrs( udfHd ) ;

Type

AcuSolve User-Defined Function Basic

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.

Return Value

nUsrStrs (integer)
The return value is the number of user strings given in the input file.

Description

This routine returns the number of user strings supplied in the input file. For example,
Integer nUsrStrs ;
...
nUsrStrs = udfGetNumUsrStrs( udfHd ) ;
if ( nUsrStrs != 2 ) {
   udfSetError( udfHd, "Invalid number of user strings %d", nUsrStrs ) ;
}

Errors

This routine expects a valid udfHd.