Get(TransactionOpenState)
Returns 1 (true) if the transaction is opened; otherwise, returns 0 (false).
Format
Get ( TransactionOpenState )
Parameters
None
Data type returned
number
Originated in version
19.6.1
Example 1
The $transaction_open_state variable returns 1 (true), since the transaction has started but has not been committed or reverted.
Copy
Open Transaction []
Set Variable [ $transaction_open_state ; Value: Get ( TransactionOpenState ) ]
Commit Transaction