MAXHISTORY

Syntax: | `SET MAXHISTORY n`
Default: | `MAXHISTORY = 5`

`MAXHISTORY` controls how many lines of history to store for each numeric variable. If a variable has its value changed many times, such as within a large `DO` loop, the number of history records can become large, resulting in an inordinate amount of memory being used. This characteristic gives the user control over this potential problem.

NHISTORY