# Reserve words in parameters

**URL:** https://forum.kirupa.com/t/reserve-words-in-parameters/227037
**Category:** Uncategorized
**Created:** [May 26, 2007, 7:13am UTC](https://forum.kirupa.com/t/reserve-words-in-parameters/227037 "2007-05-26T07:13:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![joshchernoff](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshchernoff/32/1852_2.png) [@joshchernoff](https://forum.kirupa.com/u/joshchernoff)
#### Post date: [May 26, 2007, 7:13am UTC](https://forum.kirupa.com/t/reserve-words-in-parameters/227037/1 "2007-05-26T07:13:36Z")

</div>

```auto

test_mc.addEventListener(MouseEvent.CLICK, test);
function test([COLOR=Red]event[/COLOR]:MouseEvent):void{
    trace(event);
}

```

is there a reason other then convention to use the word [COLOR=Red]event[/COLOR] in the functions parameter, because any other name would work too. example.

```auto

test_mc.addEventListener(MouseEvent.CLICK, test);
function test([COLOR=Red]traceEvent[/COLOR]:MouseEvent):void{
    trace([COLOR=Black]traceEvent[/COLOR]);
}

```

the only reason I ask is because event turns blue when I use it and that usually means it’s a reserved word. so what is it?
