# DISTANCE System Variable [GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [D](Help%20System/GSTARCAD/2026/System%20Variables/D/(D).md) ## Function Description: The DISTANCE system variable is used to store the distance calculated by DIST command. (Read-Only) | | | | --- | --- | | Type | Real | | Saved in | Not saved | | Initial value | 0.0000 | --- [Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/DISTANCE.html) · © Gstarsoft Co., Ltd.