[X] Literal string can break loop parsing

1 See file:///C:/Program%20Files/Mp3tag/help/main_scripting.html says

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()

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).

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! :slight_smile:

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