# HW Devs: Arrays and Negative Indices

**URL:** <https://forum.makecode.com/t/hw-devs-arrays-and-negative-indices/365>\
**Category:** Arcade\
**Created:** [July 23, 2019, 9:20pm UTC](https://forum.makecode.com/t/hw-devs-arrays-and-negative-indices/365 "2019-07-23T21:20:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [July 23, 2019, 9:20pm UTC](https://forum.makecode.com/t/hw-devs-arrays-and-negative-indices/365/1 "2019-07-23T21:20:50Z")

</div>

Moved this to GitHub.

> <https://github.com/microsoft/pxt-arcade/issues/1151>
>
> Describe the bug
> Hardware does not like arrays and negative indices.
> To Reproduce
> let array: number\[\] = \[\]
> for (let index: number = -2; index...
