FBWiki : KeyPgDdfunctionnq

FBWiki :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

__FUNCTION_NQ__


Intrinsic define (macro string) set by the compiler

Syntax:
__FUNCTION_NQ__

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

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

Examples:
Sub MySub
  Print "Address of " + __FUNCTION__ + " is ";
  Print Hex( @__FUNCTION_NQ__ )
End Sub

MySub


Address of MYSUB is 4012D0


Differences from QB:

See also:

Back to Intrinsic Defines

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0



sf.net phatcode