Restored from previous forum. Originally posted by ricardo.
i need to redim arrays during the execution and i want to know if it is possible in Pure Basic?
can i redim arrays??????
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by wayne1.
Dim name.(, [], ...)
Description
Dim is used to 'size' the new arrays. An array in PureBasic can be of any types, including structured, and user defined types. Once an array is 'sized' it can be resized but its content will be deleted. Arrays are dynamically allocated which means than a variable or an expression can be used to size them.
Syntaxi need to redim arrays during the execution and i want to know if it is possible in Pure Basic?
Dim name.(, [], ...)
Description
Dim is used to 'size' the new arrays. An array in PureBasic can be of any types, including structured, and user defined types. Once an array is 'sized' it can be resized but its content will be deleted. Arrays are dynamically allocated which means than a variable or an expression can be used to size them.