# Declareing a global array

**URL:** https://forum.kirupa.com/t/declareing-a-global-array/286014
**Category:** Uncategorized
**Created:** [April 8, 2009, 7:30pm UTC](https://forum.kirupa.com/t/declareing-a-global-array/286014 "2009-04-08T19:30:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Starcry](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Starcry](https://forum.kirupa.com/u/Starcry)
#### Post date: [April 8, 2009, 7:30pm UTC](https://forum.kirupa.com/t/declareing-a-global-array/286014/1 "2009-04-08T19:30:24Z")

</div>

hello  
does anybody know how to declare a global array and then how to refer to it? I tried \_global.board = new Array(10); but when I refered to it like a normal array board\* = 12; inside a function i got this error “access of undefined property board”  
does anybody have any ideas?
