# Pointers and references

**URL:** https://forum.kirupa.com/t/pointers-and-references/114251
**Category:** Uncategorized
**Created:** [June 26, 2004, 5:20pm UTC](https://forum.kirupa.com/t/pointers-and-references/114251 "2004-06-26T17:20:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bergheim](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@bergheim](https://forum.kirupa.com/u/bergheim)
#### Post date: [June 26, 2004, 5:20pm UTC](https://forum.kirupa.com/t/pointers-and-references/114251/1 "2004-06-26T17:20:16Z")

</div>

Hello.  
Is there any way to get the address of a variable etc like in c/c++?

Like:  
var someRef = &\_root.as[‘someVar’];

or

function whatnot( var \*someVar ) { … }

My initial tests shows that flash makes copies of everything, even selfsefined objects! Surely there must be support for something else…
