Syntax Errors


    The PowerBuilder code rule "Syntax Errors" checks the syntax of PowerBuilder code for errors. This includes checking for missing semicolons, invalid keywords, and other syntax-related problems. The rule will report any syntax errors it finds, along with a description of the error and its location in the code. This helps developers quickly identify and fix any syntax-related issues in their PowerBuilder code.

Key Benefits

  • Comprehensive Error Reporting: Syntax Errors rule provides comprehensive error reporting, allowing developers to quickly identify and correct errors in their code.
  • Easily Identifiable: Syntax Errors are easily identifiable, making it easy for developers to locate and fix errors in their code.
  • Time Saving: Syntax Errors can save developers time by helping them quickly identify and fix errors in their code.
  • Reduced Risk of Data Loss: Syntax Errors can reduce the risk of data loss by helping developers identify and fix errors quickly.


Non-compliant Code Example

public function integer of_getcount --Non compliant code (Missing "(" and ")")

Integer li_registeredcnt = 0
Return li_registeredcnt

end function
Visual Expert 2024