Displaying and storing memory addresses

BlitzMax Forums/BlitzMax Programming/Displaying and storing memory addresses

Hey, when using pointers i want to either:

Have an array of pointers..which isn't seeming likely. Similar to the idea of:

Global Array_Of_Pointer:Float Ptr[4]

Instead i had the idea to do this

Global Array_of_Addresses:Int [4]

Global X_Ptr:Float Ptr
Global X:Float

X_Ptr = Varptr X[0]

Array_of_Addresses[0]= X_Ptr

DrawText X_Ptr,0,0



I know a pointer isn't a string, but i want it's address to be displayed and stored. How do i go about doing that?



[/code]