Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the name of a static method that is specified by index.
Syntax
public str staticMethod(int methodNumber)
Run On
Called
Parameters
- methodNumber
Type: int
The one-based index to the list of static methods for the table, in AOT order.
Return Value
Type: str
The name of the static method that is specified by the methodNumber parameter; an empty string if the methodNumber value is not a valid static method index.
Examples
The following example shows the retrieval of the name of each static method in a table.
DictTable dt;
int i;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
for (i=1; i <= dt.staticMethodCnt() ; i++)
{
print dt.staticMethod(i);
}
}