Function OR Event name should comply with a naming convention


    This rule states that all functions and events in PowerBuilder code should follow a specific naming convention. This naming convention should be consistent throughout the code and should be easy to understand. The naming convention should also make it easy to distinguish between functions and events, as well as other types of code elements. This will help to make the code more organized and easier to read and maintain.

Key Benefits

  • Ensures consistency: Ensures consistency and clarity when naming functions or events, making them easier to identify and understand.
  • Organization: Helps to keep code organized and easier to navigate.
  • Maintenance: Makes it easier to maintain and update code over time.
  • Communication: Makes it easier for developers to communicate and collaborate.


Non-compliant Code Example

private function string TestFunctionCall_ (string cnt) //Non compliant code

return cnt

end function
Visual Expert 2024