How do I get Address of Types

BlitzMax Forums/BlitzMax Beginners Area/How do I get Address of Types

How do I get the address of this type like in the debug screen


with MyList.tostring()

You should use Byte Ptr(<type instance>) as ToString() can be overridden.

thanks guys.

tostring works swell. Byte Ptr doesn't
But tostring is good enough for what I want to do.

It works for me if I cast the ptr to an int