quick question about <visible> tag
#1
Question 
so,

will this:

<visible>Skin.HasSetting(mainmenu_1)+Skin.HasSetting(mainmenu_2)+Skin.HasSetting(mainmenu_3)</visible>

work the same way as using

<visible>Skin.HasSetting(mainmenu_1)</visible>
<visible>Skin.HasSetting(mainmenu_2)</visible>
<visible>Skin.HasSetting(mainmenu_3)</visible>


or is there a difference (functionality, speed-wise, you name it) ?

which of them should be preferrable?
cheers,azido :;):
Reply
#2
They're effectively identical. The only difference is the second adds brackets around the expressions, which I could perhaps add a very slight overhead (I can't recall offhand how the reverse polish thing works).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
Reply
#3
thanks, jonathan.

i kept the example simple for a reason. my real intention was to find out if a really long line of conditions has an impact in working for a skin like
<visible>this+that+this+something+someother+blah+blubb+bleeeh+more+haha+lookatmei'macondidtion+iwanttobreakfree+azidorocks+so+on</visible>
especially if there are many of them in a kinda big xml.

jmarshall Wrote:(I can't recall offhand how the reverse polish thing works).

i have to admit that, although in general my english is really good: i don't understand this phrase. Even when i use google to translate.. Rolleyes can you explain?
cheers,azido :;):
Reply
#4
I think he means this:
http://en.wikipedia.org/wiki/Reverse_Polish_notation
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
quick question about <visible> tag00