# Dynamic path names

**URL:** <https://forum.kirupa.com/t/dynamic-path-names/205405>\
**Category:** Uncategorized\
**Created:** [October 29, 2006, 6:27am UTC](https://forum.kirupa.com/t/dynamic-path-names/205405 "2006-10-29T06:27:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Post date:** [October 29, 2006, 6:27am UTC](https://forum.kirupa.com/t/dynamic-path-names/205405/1 "2006-10-29T06:27:56Z")

</div>

Hi all, just a quick question.

```auto

var exact = front.slice(37, front.length-7);
var introductionNumber = 4;
trace(introductionNumber);
trace([exact+"Number"]);

```

Exact is a dynamic variable, so I need to use the [] for the path name.

My question is, how can I get “trace([exact+“Number”]);” to trace “4”, just like “introductionNumber”? 'Cause right now [exact+“Number”] is just tracing as “introductionNumber”, not"4".

Thanks in advance.
