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.

"p" returns the address, "p[0]" returns the variable at the address

the reason for "print int(p)" is that "print p" gives an "Unable to convert from 'String Ptr' to 'String'" error