A Scope element groups other elements together. It works the same way as Scopes, denoted by {
and }
, in C#. For example, variables declared inside a Scope are not visible outside the Scope, and any exception thrown within the Scope is caught by a Catch element attached to the Scope element.
The return value of a Scope is the same as a Return element.