Pointers and references: Difference between revisions

Line 1,681:
]</lang>
 
=={{header|VBA}}==
Formally VBA does not have pointers or references. Objects are created with the "New" keyword, and assignments require the keyword "Set". Getting the memory address of a pointer is not documented in VBA.
<lang vb>Dim samplevariable as New Object
Dim anothervariable as Object
Set anothervariable = sameplevariable</lang>
=={{header|zkl}}==
Pointers don't exist and neither do conventional references but mutable containers can act like references: List, Ref (strong reference), GarbageMan.WeakRef (weak reference) and others.
255

edits