Parentheses on method calls
- Last Updated: October 20, 2015
- 1 minute read
- OpenEdge
- Version 13.1
- Documentation
Parentheses on method calls
In general, you must specify all method references with parentheses. Although some COM objects accept a method call referenced without parentheses, ABL is not aware that such a reference is a method call. Without parentheses, the compiler interprets the reference as a property rather than as a method. This can cause unpredictable results for the method call.