8 16 1 MTHROUTINE Parameters

LANSA Technical

8.16.1 MTHROUTINE Parameters

NAME

DESC

OPTIONS

ACCESS

HELP

NAME

The name of the method routine. This name can be up to 20 characters long.

DESC

Use the DESC parameter to write a brief description for the method. It can be 40 characters long.

OPTIONS

The value of the OPTIONS parameter determines whether a method inherited from an ancestor can be redefined:

*REDEFINE

The method is redefining (overriding) the implementation of a method in a component's ancestor.

*FINAL

The method cannot be redefined by components that inherited from the component defining the method.

 

ACCESS

This parameter supports one of the options from the list *PUBLIC, *PROTECT and *PRIVATE.

HELP

Use the Help parameter to write a longer description for a method. The help text can be viewed using the Features option of the Help menu. It can be 250 characters long.