GETCURRENTENTITYNAME

 

The GetCurrentEntityName subroutine returns a point value of the current entity name when it is invoked.

 

Langunage type

SubRoutine

FORTRAN

call GetCurrentEntityName(name, npar, error)

C/C++

GetCurrentEntityName(name, &npar, &error)

 

Parameter information

 

Variable Name

Size

Description

name

char [256]

The array for entity name when it is invoked

npar

int

The number of charater in name array.

Errflg

int

Error flag.

If the result of this argument is -1 (means TRUE in Fortran logical value), there is no error.

The others mean that there is an error.

 

This function can get a name of the entity calling the current USUB DLL. The user can perform differently for each entity.