Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. ReDim, short for re-dimension, is a Visual Basic function that is used to resize arrays. By using this function you can add or remove space from an array. This function can only be used on arrays that are declared without dimensions. The Preserve keyword is used to keep the data in ...Täielik kirjeldus
Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. ReDim, short for re-dimension, is a Visual Basic function that is used to resize arrays. By using this function you can add or remove space from an array. This function can only be used on arrays that are declared without dimensions. The Preserve keyword is used to keep the data in an array intact. The syntax is as follows: ReDim MyArray(3), ReDim Preserve MyArray(3) For arrays of multiple dimensions, you can only ReDim the latest dimension after the array has been redimensioned once, and your initial declaration must match the number of dimensions you want to use.