Can't save pointers - so what techniques?

BlitzMax Forums/BlitzMax Programming/Can't save pointers - so what techniques?

Hi Jake. The XML functions sound good. I guess you have to "manually" populate them with the fields you want to read and write, which I'm doing, and thus it's prone to typos - that's why it's worth double checking the output of any writes.

Yeah I used the name system for certain objects where there's not too many like game sounds or images, then I can easily find them by name if they are stored in a list. For non-nameable things, I use ID. Actually most of the time I use pointers, it's just that when I save I have to convert the pointer to and ID and then back to a pointer when I load.