I'm having a bit of a problem. Working away on my pathfinding stuff, and at the beginning i define a number of nodes (or waypoints) i use. Now, in my types, i want to do this:
I missed out some of the fields i use, as they don't demonstrate my problem :o)
Now, i understand why this doesn't work, as the array can't be changed once it's been created. But, i kind of need to do this, create the array, based on a number that will be read from data statements, or a file. Any way to circumvent this?
Type node Field path_history[number_of_nodes] End Type
I missed out some of the fields i use, as they don't demonstrate my problem :o)
Now, i understand why this doesn't work, as the array can't be changed once it's been created. But, i kind of need to do this, create the array, based on a number that will be read from data statements, or a file. Any way to circumvent this?