Pointers-POINT me in the right direction :).

BlitzMax Forums/BlitzMax Beginners Area/Pointers-POINT me in the right direction :).

So basically I would need the object to have a pointer which points at their value to be changed. Then pass this pointer to the function so the external function can edit the values?

I understood the majority of the tutorial.


This is basically for an object that gets clicked on and then gets it's values changed from a function call. The function to change the data resides in my message_box object.

Am I on the right track? I just want to change the data of ONE SPECIFIC instance,so I use a pointer to send the location of that instance's data to an external function for editing.

In this way I can adjust an instance's values from outside the instance.-Right?