===== Redim (Statement) ===== ==== Format ==== **redim** [[arrays|array_variable]] ( //integer// )\\ **redim** [[arrays|array_variable]] ( //integer// ) **fill** [[expressions|expression]]\\ **redim** [[arrays|array_variable]] [ //integer// ]\\ **redim** [[arrays|array_variable]] [ //integer// ] **fill** [[expressions|expression]] **redim** [[arrays|array_variable]] ( [[integerexpressions|array_size_rows]] , [[integerexpressions|array_size_columns]])\\ **redim** [[arrays|array_variable]] ( [[integerexpressions|array_size_rows]] , [[integerexpressions|array_size_columns]]) **fill** [[expressions|expression]]\\ **redim** [[arrays|array_variable]] [ [[integerexpressions|array_size_rows]] , [[integerexpressions|array_size_columns]]]\\ **redim** [[arrays|array_variable]] [ [[integerexpressions|array_size_rows]] , [[integerexpressions|array_size_columns]]] **fill** [[expressions|expression]]\\ ==== Description ==== Re-sizes a previously created array, preserving data. If an array is enlarged and the fill clause is not included then the new elements will not be initialized (and will be unassigned). If an array is reduced in size the elements trimmed from the end are lost. ==== See Also ==== {{page>en:start#Arrays and Variables&noheader}} ==== History ==== |0.9.5t|New To Version| |1.99.99.57|Added fill for unassigned elements|