# V2.39c Suggestion: %index%

**URL:** https://community.mp3tag.de/t/v2-39c-suggestion-index/5698
**Category:** General Discussion
**Created:** [November 5, 2007, 9:05am UTC](https://community.mp3tag.de/t/v2-39c-suggestion-index/5698 "2007-11-05T09:05:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [November 5, 2007, 9:05am UTC](https://community.mp3tag.de/t/v2-39c-suggestion-index/5698/1 "2007-11-05T09:05:14Z")

</div>

Really useful would be the following Export script System placeholder:

%\_index% Current value of the index of the immediately containing loop

Also, in Help, %\_counter% would be more clearly described as

%\_counter% Current counter value (ascending from 1) of the immediately containing loop

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [November 7, 2007, 6:44pm UTC](https://community.mp3tag.de/t/v2-39c-suggestion-index/5698/2 "2007-11-07T18:44:38Z")

</div>

I don't see the difference of these two placholders. Can you give an example?

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [November 15, 2007, 2:27pm UTC](https://community.mp3tag.de/t/v2-39c-suggestion-index/5698/3 "2007-11-15T14:27:07Z")

</div>

> I don't see the difference of these two placholders.

Sorry to be unclear - by "the index" I mean the field/expression argument of $loop().

> Can you give an example?

The export script

$loop(%\_filename\_ext%)%\_counter% %\_index%  
$loopend()

would output e.g.

1 myfirstfile.mp3  
2 mysecondfile.mp3

I'd use %\_index% instead of having to repeat the long expression that I often have in $loop() e.g. one to find the UPC and other info from folder name.

Now I think about it, parhaps it would better for Mp3tag to allow this:

$loop($put(v,%\_filename\_ext%))%\_counter% $get(v)  
$loopend()
