get Value Clearing
Extract the current value of the variable. Fail if the variable has no value. Clear the variable afterward.
Return
The variable's value prior to it being cleared.
Throws
If the current value could not be read, e.g., because the variable is unassigned.