where does VarPtr point to?

BlitzMax Forums/BlitzMax Programming/where does VarPtr point to?

Varptr gives you the pointer to the variable itself, like & in c.

Passing the array would suffice as its just a pointer to its first element anyway.

Strings has to be passed via a $z parameter or by using .ToCString() (dont forget to MemFree() it when your done!).