Session.CurrentExecutionMode() Method
Version: Available or changed with runtime version 1.0.
Specifies the mode in which the session is running.
ExecutionMode := Session.CurrentExecutionMode()
Nota
This method can be invoked without specifying the data type name.
ExecutionMode
Type: ExecutionMode
The mode in which the session is running.
This example requires that you create a variable named Mode that has a DataType of ExecutionMode.
Mode := CurrentExecutionMode;
Message('Current execution mode is %1.', Mode);