- Function IsRuntimeIdentifier(identifierName)
IsRuntimeIdentifier
The function IsRuntimeIdentifier
returns 1 when the argument
identifierName
is created at runtime.
IsRuntimeIdentifier(
identifierName) ! (input) scalar element parameter
Arguments
- identifierName
An element expression in the predefined set
AllIdentifiers
specifying the identifier for which it should be determined whether or not it is created at runtime.
Return Value
This function returns 0 or 1. If
identifierName
is not an identifier, an error message is issued.
Note
In order to determine whether or not the value of string parameter
myStr
is an identifier, you can use
StringToElement(AllIdentifiers, myStr)
or
myStr in AllIdentifiers
.
Example
The code:
_bp_isRuntime := IsRuntimeIdentifier('webui_runtime::AllImplicitPublicIdentifiers');
display _bp_isRuntime ;
produces in the listing file:
_bp_isRuntime := 1 ;
References
The functions
StringToElement
,DeclaredSubset
andIndexRange
.Working with the Set AllIdentifiers of the Language Reference.
The common example in Listing 1.