A unary operator that returns the address of a variable.
result = AddressOf varname |
The AddressOf operator syntax has these parts:
Part | Description |
result | Required; any numeric variable. |
varname | Required; any variable. |
The AddressOf operator returnns the address of any variable. If the variable was declared as object and wasn't initialized, AddressOf returns 0. If the variable was declared and initialized with the Set statement, AddressOf returns the address of the variable in memory.
Dim MyAddress, AddressOfMyAddress, MyPoint as DPoint |
See Also |
Operators |