Skip to content

Check UndefinedVariable

github-actions[bot] edited this page Nov 7, 2025 · 5 revisions

undefined-variable - The prefixed variable indicates it should have been declared in the local scope, but was used as a global

Non-compliant Code Example

_method object.do_something()
  write(l_a)
_endmethod

Compliant Code Example

_method object.do_something()
  _local l_a << 10
  write(l_a)
_endmethod

Note

This page is generated. Any changes made to this page through the wiki will be lost in the future.

Clone this wiki locally