# \[FMX\]d++ : Simple question about variables and incrementing

**URL:** https://forum.kirupa.com/t/fmx-d-simple-question-about-variables-and-incrementing/108732
**Category:** Uncategorized
**Created:** [April 28, 2004, 8:58am UTC](https://forum.kirupa.com/t/fmx-d-simple-question-about-variables-and-incrementing/108732 "2004-04-28T08:58:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![radioxromance](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@radioxromance](https://forum.kirupa.com/u/radioxromance)
#### Post date: [April 28, 2004, 8:58am UTC](https://forum.kirupa.com/t/fmx-d-simple-question-about-variables-and-incrementing/108732/1 "2004-04-28T08:58:05Z")

</div>

Well I am working through some tile-based games tutorials and saw this:

```auto
this.attachMovie("tile", "t_"+i+"_"+j, ++d);

```

But it doesn’t seem that d has been declared anywhere. It may be a stupid question, but is it simply declared there as 0? Created when incremented? Seems odd. If that’s the case, I didn’t know you could do that. Any one wanna explain it to me…
