here is what TS write on it:
here is the example they giveThe method reserved word allows you to create a named subroutine within an EasyLanguage document that consists of a sequence of statements to perform an action, a set of input parameters to customize those actions, and possibly a return value.
Example
The following method reads and displays account information from the AccountsProvider1 object that was created using the Accounts Provider component. When ShowInformation(0) is called, the first plot displays the Account ID of the first Account in the provider collection (acctIndex is 0) and the second plot displays the Real Time Net Worth value for the same account. Since this method does not return a value it's return type is void.
Code: Select all
Method void ShowInformation(int acctIndex)
begin
if (AccountsProvider1.Count > 0) then
begin
plot1(AccountsProvider1.Account[acctIndex].AccountID, "Account ID");
plot2(AccountsProvider1.Account[acctIndex].RTAccountNetWorth, "RT Net Worth");
end;
end;