# Anyone know a workaround for this $get bug?

**URL:** https://community.mp3tag.de/t/anyone-know-a-workaround-for-this-get-bug/8897
**Category:** Support
**Created:** [September 5, 2009, 12:48pm UTC](https://community.mp3tag.de/t/anyone-know-a-workaround-for-this-get-bug/8897 "2009-09-05T12:48:46Z")
**Posts on this page:** 4
**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: [September 5, 2009, 12:48pm UTC](https://community.mp3tag.de/t/anyone-know-a-workaround-for-this-get-bug/8897/1 "2009-09-05T12:48:46Z")

</div>

Export config:

$filename($get\_bust.txt,ansi)$puts(x,45)$get(x)$loop(%dummy%)  
{$get(x)}$loopend()

expected:  
45  
45  
45  
...

observed:  
45  
{}  
{}  
...

Thanks.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [September 5, 2009, 3:00pm UTC](https://community.mp3tag.de/t/anyone-know-a-workaround-for-this-get-bug/8897/2 "2009-09-05T15:00:01Z")

</div>

Using this script ...

```
$filename(F:\TEMP\$get_bust.txt,ansi)$puts(x,45)$get(x)$loop(.)
{$get(x)}$loopend()
$get(x)

```

... I got this result ...

```
45
{}
45

```

This points to the problem I've mentioned repeatedly long time ago.  
An outside of the loop user defined variable is not visible within the loop.  
I thought that Florian has addressed this weak behaviour in the meantime.

DD.20090905.1900.CEST

And this is interesting too, because an inside of a loop defined variable is visible outside of the loop ...

```
$filename(F:\TEMP\$get_bust.txt,ansi)$loop(1)$puts(x,45)'1:'$get(x)$loop(1)
'2:'$get(x)$loopend()
'3:'$get(x)$loopend()
'4:'$get(x)

```

... which gives the result ...

```
1:45
2:
3:45
4:45

```

DD.20090905.1910.CEST

---

<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: [September 5, 2009, 3:18pm UTC](https://community.mp3tag.de/t/anyone-know-a-workaround-for-this-get-bug/8897/3 "2009-09-05T15:18:17Z")

</div>

> I thought that Florian has addressed this weak behaviour in the meantime.

I also recall but I certainly don't recall a fix.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:21pm UTC](https://community.mp3tag.de/t/anyone-know-a-workaround-for-this-get-bug/8897/4 "2026-02-09T12:21:46Z")

</div>


