LEAVE
Keeps a variable’s value from one case to the next instead of resetting it, for running totals.
Syntax
Section titled “Syntax”LEAVE varlist.Synopsis
Section titled “Synopsis”| Kind | Transformation (pending until data is needed) |
| Body | free-form body |
| Changes data | yes, undoable |
Examples
Section titled “Examples”NUMERIC running (F8.0).LEAVE running.COMPUTE running = running + sales.- Programs using LEAVE run case by case.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.