Technical data
Compiler Directives
2-49
%return
The %return statement closes all %with statements appearing within the
current function. In this example, the
%with statement is automatically closed
when the
%return statement is encountered, removing the scope from the list
of searched scopes.
%function foo(s)
%with s
%return(name)
%endwith
%endfunction