Table of Contents

5.4.2.22 End Statement

Note

This section describes the implementation of MS-VBAL §5.4.2.22 End Statement.

Syntax

AST node Instruction kind Notes
KeywordStatementNode (Token: End) Halt No resolved target.

End lowers to the InstructionKind Halt (RD-VBAL §3.5.2 Instruction).

Runtime Semantics

The executor dispatches the Halt instruction for End (RD-VBAL §3.5.4 Execution).

👉 The static execution context retains the state of immediate commands until an End command resets the execution context to its initial state (RD-VBAL §4.0 Program Structure and Organization).

Implementation

  • RDCore.Runtime.Execution.ProcedureExecutor dispatches Halt instructions.

⏮️ RD-VBAL §5.4.2.21 With Statement | ⏭️ RD-VBAL §5.4.2.23 Assert Statement