Skip to content

LEAVE

Keeps a variable’s value from one case to the next instead of resetting it, for running totals.

LEAVE varlist.
Kind Transformation (pending until data is needed)
Body free-form body
Changes data yes, undoable
NUMERIC running (F8.0).
LEAVE running.
COMPUTE running = running + sales.
  • Programs using LEAVE run case by case.

NUMERIC, COMPUTE


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.