Plange


returns a value of type Pointer<T>

Example

<Int> x = 0xABC123;
<Pointer<Int>> ptr = address_of(x);
print("Address of x: " + ptr);
print("Value of x: " + dereference(ptr));
			

Notes

address_of is similar in function to C's address-of operator, '&'. See the dereference keyword.


copyright © Brent Lewis 2017