# CMDINPUTHISTORYMAX System Variable
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md)
**Function Description:**
The CMDINPUTHISTORYMAX system variable is used to set the maximum value of history entry in command prompts.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Registry |
| Initial value | 20 |
|
The history record displaying is determined by INPUTHISTORYMODE system variable.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables/CMDINPUTHISTORYMAX.html) · © Gstarsoft Co., Ltd.