lang • varptr


Pointer = VarPtr ( Variable )

Returns a pointer that points at the Variable contents in memory.

Use this function when an extern function argument is a pointer to a numeric variable. For example, int *, or void **.

Do not use it to deal with char **, because the contents of a Gambas string variable is read-only.

See also