# Letters in array position?

**URL:** <https://forum.kirupa.com/t/letters-in-array-position/303186>\
**Category:** Uncategorized\
**Created:** [January 15, 2010, 5:26pm UTC](https://forum.kirupa.com/t/letters-in-array-position/303186 "2010-01-15T17:26:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smeared](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@smeared](https://forum.kirupa.com/u/smeared)\
**Post date:** [January 15, 2010, 5:26pm UTC](https://forum.kirupa.com/t/letters-in-array-position/303186/1 "2010-01-15T17:26:06Z")

</div>

I’m trying to fix this badly coded map app, and I notice that about 4 times through out, who ever coded it used letters in addition to numbers in an arrays position.

```auto
risksArray["r"+element.@riskCode] = whatever;

```

but throughout the whole thing, he always refers to the array positions the same way… so I can’t figure out why he would possibly just add an r to the beginning like that.

How does that work? Why would someone do it?

thanks… I’m currently changing them all back to just numerical.
