method function

Syntax

method MethodName
   StatementList
end-method

Description

Use the method statement to define the methods of your application class.

Parameters

Parameter Description

method MethodName

Specify the name of the method that you are creating.

StatementList

Specify the program of the method, what it does.

Returns

Depends on the method.

Example

method NumToStr
   /+ Returns String +/
   Return String(&Num);
end-method;

method AppendSlash
   &SlashString = &SlashString | "/";
end-method;