# \[X\] Literal string can break loop parsing

**URL:** https://community.mp3tag.de/t/x-literal-string-can-break-loop-parsing/9011
**Category:** No Bugs
**Created:** [September 22, 2009, 8:53pm UTC](https://community.mp3tag.de/t/x-literal-string-can-break-loop-parsing/9011 "2009-09-22T20:53: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 22, 2009, 8:53pm UTC](https://community.mp3tag.de/t/x-literal-string-can-break-loop-parsing/9011/1 "2009-09-22T20:53:46Z")

</div>

1 See file:///C:/Program%20Files/Mp3tag/help/main\_scripting.html says

> [@](#):
>
> ' Outputs raw text without parsing. This will output the contained string and ignore all reserved characters. If you want to output this character please use ''.

2 Select one track  
3 Export using config $loop(%dummy%)'$loop'$loopend()  
Expected: outputfile containing **$loop**  
Observed: Error - "Missing brackets or parameter at $loop()"

Workaround: $loop(%dummy%)'$lo''op'$loopend()

---

<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: [September 25, 2009, 10:22am UTC](https://community.mp3tag.de/t/x-literal-string-can-break-loop-parsing/9011/2 "2009-09-25T10:22:34Z")

</div>

Just out of interest: can you show me the export file where you've actually needed to output $loop? Or have you simply tried to reach the limits?

The background of this behaviour is, that normal scripting functions are another language that the export configuration language (including different parsers).

---

<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: [October 1, 2009, 10:10pm UTC](https://community.mp3tag.de/t/x-literal-string-can-break-loop-parsing/9011/3 "2009-10-01T22:10:58Z")

</div>

> can you show me the export file where you've actually needed to output $loop?

No longer availabable, but the line was something lke:

```
$puts(REM,'workaround for failure of $loop() after $loop(,1)')

```

> The background of this behaviour is, that normal scripting functions are another  
> language that the export configuration language (including different parsers).

That design decision was... daring! 🙂

---

<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: [December 28, 2018, 2:26pm UTC](https://community.mp3tag.de/t/x-literal-string-can-break-loop-parsing/9011/4 "2018-12-28T14:26:40Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
