SPSS Leave
The LEAVE command causes variables to temporarily behave like scratch variables. Variables specified on the command will retain their value between cases.
Contents
Usage
compute Total_Sales = sum(Sales, Total_Sales). leave Total_Sales.
Data Model
The LEAVE command is queued as a pending transformation.
LEAVE status is reset by many commands, such as COMPUTE or IF. It should be programmed in the shortest possible structure, directly after the commands for which the effect is essential.