VarPtr : What's it for?

BlitzMax Forums/BlitzMax Beginners Area/VarPtr : What's it for?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks Dan, That works.
The doc example is a bit 'loose' suggesting varptr will put the address of 'a' into 'p'.
What does 'print int(p)' do and why is it needed in this
example?