Slicing question
BlitzMax Forums/BlitzMax Programming/Slicing question
| ||
Does slicing only work with standard variable types or can it be used with other things like arrays of types? At the moment i have: Global array:tsurface[0] And i use Array = array[..arraysize +1] But accessing the next element gives a null error, anyone have any ideas? |
| ||
use array[currentpos]=new tsurface before accessing element.(current pos is 'next element' position) Last edited 2011 |
| ||
ah ok thanks Zeke forgot about the initialisation problems |