method

The method system variable references the currently executing method. For example, you could use the code fragment in the following example to trace the name of any method.

write method.name;       // outputs method name to the display window