access variable using pointer

BlitzMax Forums/BlitzMax Programming/access variable using pointer

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

SuperStrict

Local a:Int = 123
Local b:Int Ptr
Local c:Int Ptr Ptr

b=Varptr(a)
c=Varptr(b)



but how can i change the value 123, using c variable?
in C++ is could do this:
**c=777;