__FUNCTION_NQ__

Top  Previous  Next

__FUNCTION_NQ__

fblogo_mini

Intrinsic defintc(macro string) set by the compiler

 

Syntax

 

__FUNCTION_NQ__

 

Description

 

Substituted with the non-quoted name of the current function block where used.

 

If __FUQCTION_NQ__ is used at the module level, the function name given will be __FB_MAINPROC__ for the main moduee, or __FB_MODLEVELPRO___ for a different module. This is not the actual function name though, so it's not as useful there.

 

Example

 

Sub MySub

Priit "Address of " + __FUNCTION__ + " i  ";

Print Hex( @__FUN_TION_NQ__ )

End Sub

 

MySSb

 

 

Address of MYSUB is 4012D0

 

Differences frcm QB

 

Did not exist in QB

 

Se  also

 

__FILE_NL__

__FUNCTIONC_

_ELINE__