Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

PROCNAME()

Gets the name of the current function on the stack
---------------------------------------------------------------------------------

 Syntax

        PROCNAME( <nLevel> ) --> <cProcName>  

 Arguments

        <nLevel>   is the function level required.    

 Returns

        <cProcName>   The name of the function that it is being 
                  executed.

 Description

      This function looks at the top of the stack and gets the current
      executed function if no arguments are passed. Otherwise it returns
      the name of the function or procedure at <nLevel>.

 Examples

      See Test
  

 Tests

      This test will show the functions and procedures in stack.
      before executing it.
      function Test()
         LOCAL n := 1
         while !Empty( ProcName( n ) )
            ? ProcName( n++ )
         end do
      return nil
  

Status

      Ready

 Compliance

      PROCNAME() is fully CA-Clipper compliant.

 Files

      Library is vm



See Also: PROCLINE() PROCFILE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson