Thanks Trey.
John
>>Is there any way to determine the name of the method I'm in at runtime?
>>
>>TIA
>>
>>John
>
>PROGRAM()
>
>In a class method, program() returns "CLASS.METHOD" - i.e., name of class + "." + name of method
>
>For just the method:
>
lcProgram = PROGRAM()
>lcProgram = Substr(lcProgram, At(".", lcProgram)+1)
>
>For more detail (exact vcx, prg, etc.), use SYS(16)
>
>HTH