udfHasUgd()

Has this user global data been set?

Syntax

ugdFlag = udfHasUgd( udfHd, ugd ) ;

Type

AcuSolve User-Defined Function Global

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
ugd (string)
Name of the user global data variable.

Return Value

ugdFlag (integer)
Flag indicating whether or not this ugd has been set.
0
No
1
Yes

Description

This routine checks whether or not the specified user global data has been set. For example,
ugdFlag = udfHasUgd( udfHd, "nCols" ) ;

Errors

  • This routine expects a valid udfHd.
  • ugd must exist.