Returns the name of the execution function.
1 system.function.getName
<system.function.getName />
Returns | |
---|---|
Type | Description |
string | Name of the execution function. |
Example
Obtains the name of the execution function.
Copy
<xsql-script name='system_function_getName_sample1'> <body> <println> <system.function.getName /> </println> </body> </xsql-script>
An example of returned value would be:
Copy
system_function_getName_sample1
Example
Obtains the name of a local procedure.
Copy
<xsql-script name='sample_script_body'> <body> <function name='sample_script_local_func'> <body> <return> <system.function.getName /> </return> </body> </function> <println> # Call from the body of the XSQL-Script: <system.function.getName /> </println> <println> # Call from a local function: <sample_script_local_func /> </println> </body> </xsql-script>