# Brackets in variable name

**URL:** <https://forum.kirupa.com/t/brackets-in-variable-name/280449>\
**Category:** Uncategorized\
**Created:** [January 27, 2009, 7:21pm UTC](https://forum.kirupa.com/t/brackets-in-variable-name/280449 "2009-01-27T19:21:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaderist](https://avatars.discourse-cdn.com/v4/letter/v/b9bd4f/32.png) [@vaderist](https://forum.kirupa.com/u/vaderist)\
**Post date:** [January 27, 2009, 7:21pm UTC](https://forum.kirupa.com/t/brackets-in-variable-name/280449/1 "2009-01-27T19:21:21Z")

</div>

I have to send information to an external vendor using their existing parameters. However, they have included brackets [] in some of their variable names. As you might expect AS3 can’t resolve the variable name. Does anyone know a way around this?

An example parameter: patron\_info[first\_name]

Used like:

```auto

r:URLRequest = new URLRequest
v:URLVariable = new URLVariable
v.patron_info[first_name] = txt_fname.text;
r.data = v;

```

I have asked them if they could change the parameter name, but my deadline is fast approaching.

Thanks

Marty
