/ lang / varptr
VarPtr

3.0 |  | Syntax
    Pointer = VarPtr ( Variable )
Returns a pointer that points at the Variable contents in memory. Variable must be a local variable, or a global variable of the current class. The datatype of the variable must be numeric or a pointer. 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 External Function Management