# \[X\] Scripting functions inconsistency

**URL:** https://community.mp3tag.de/t/x-scripting-functions-inconsistency/6913
**Category:** No Bugs
**Created:** [June 6, 2008, 6:56pm UTC](https://community.mp3tag.de/t/x-scripting-functions-inconsistency/6913 "2008-06-06T18:56:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mizery\_Made](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@Mizery\_Made](https://community.mp3tag.de/u/Mizery_Made)
#### Post date: [June 6, 2008, 6:56pm UTC](https://community.mp3tag.de/t/x-scripting-functions-inconsistency/6913/1 "2008-06-06T18:56:57Z")

</div>

Shouldn't it be "$meta(%Artist%)" instead of "$meta(Artist)"? Every other scripting function calls fields with %'s (at least the ones I have messed with in the past, which is probably 50%-75%)

Perhaps not a bug, rather an inquiry or suggestion.

---

<div class="post-metadata">

### Author: ![astro7467](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/a88e57/32.png) [@astro7467](https://community.mp3tag.de/u/astro7467)
#### Post date: [June 23, 2008, 1:56pm UTC](https://community.mp3tag.de/t/x-scripting-functions-inconsistency/6913/2 "2008-06-23T13:56:04Z")

</div>

The difference is how you are using the tag.

Normally you are saying you want the value from the tag, just like in DOS, you say SET X=Y, then when you want the value from X you say %X% (or %X pending the context), in the case of $meta() the value is the name of the tag you are interested in. In most other case you are interested in the value within the tag you are referencing.

When no percentages surround the Tag name, the value being passed is the Tag name itself, where as when percentage are being used, you are saying "replace with the value from tag X"

So for $meta() the usage is consistent, as it will return the value(s) from the tag passed - in a way $meta is a variant of the %x% but with different functionality.

Hope this helps.

---

<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:24pm UTC](https://community.mp3tag.de/t/x-scripting-functions-inconsistency/6913/3 "2018-12-28T14:24:09Z")

</div>

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