1 APPLICATION How PowerBuilder looks for variables When PowerBuilder executes a script and finds an unqualified reference to a variable, it searches for the variable in the…