How do I get Address of Types

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

assari(Posted 2006) [#1]
How do I get the address of this type like in the debug screen



Dreamora(Posted 2006) [#2]
with MyList.tostring()


Azathoth(Posted 2006) [#3]
You should use Byte Ptr(<type instance>) as ToString() can be overridden.


assari(Posted 2006) [#4]
thanks guys.

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


Azathoth(Posted 2006) [#5]
It works for me if I cast the ptr to an int