func Command

In native mode, the func command lists or changes the current function. In
Java mode, the func command lists or changes the current method.

Native Mode Syntax

func

Print the name of the current function.

func procedure

Change the current function to the function or procedure procedure.

where:

procedure is the name of a function or procedure.

Java Mode Syntax

func

Print the name of the current method.

func [class_name.]method_name [(parameters)]

Change the current function to the method method_name.

where:

class_name is the name of a Java class, using either the package path
(using period (.) as a qualifier; for example, test1.extra.T1.Inner) or the full path
name (preceded by a pound sign (#) and using slash (/) and dollar sign
($) as qualifiers; for example, #test1/extra/T1$Inner). Enclose class_name in quotation marks if you
use the $ qualifier.