Command AP Does method exist

4D Pack

AP Does method exist

version 11


AP Does method exist (methodName) Integer

ParameterTypeDescription
methodNameStringName of method to test

Function result Integer 0 = Method does not exist, 1 = Method already exists

Description

The AP Does method exist command can be used to find out whether a project method named methodName already exists in the current database. This command does not take into account any project methods of the components installed in the database.

When using the AP Create method command, the purpose of this command is to avoid getting an error message when a method having the same name already exists.

See Also

AP Create method.