# DIMX
> [HTML Version](dimx.htm)
_Written June 2025_
**\{qualifier\} DIMX arrayname, definition**
DIMX statements are used to create arrays and collections. They are similar to [MAP](mapstatements.htm.md) statements in that they declare variables and thus need to be seen by the compiler before the corresponding variables can be referenced. But unlike MAP statements—except those containing initial values—DIMX statements also need to be initialized (or allocated) via run time execution before they can be used. Unlike variables created by MAP statements, those created by DIMX can be re-dimensioned and de-allocated (by [REDIMX](redimx.htm.md) statements). The following list provides links to the specific variations of DIMX statements according to variable type, along with some related statements and functions.
• [Dynamic Arrays](dynamic_arrays_(dimx).htm.md)
• [Ordered Maps](orderedmaps.htm.md)
• [Multi-Level Lists](multi-levellists.htm.md)
• [Gridmaps](gridmaps.htm.md)
• [REDIMX](redimx.htm.md) (redimension or deallocate)
• [.EXTENT()](extent().htm.md) (test size and whether allocated)