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?
quick question about <visible> tag
azido
Posting Freak Joined: Nov 2008 Reputation: 1 Location: Stuttgart, Germany |
cheers,azido :;): -=[ NOTE: The official Aeon Showmix Project is dead due to a hack of the website ]=- But some cool guys keep coding stuff to it and made it dharma-compatible, see here: http://forum.xbmc.org/showthread.php?tid=82899 |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2009-08-12 04:34
Post: #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. ![]() |
| find quote |
azido
Posting Freak Joined: Nov 2008 Reputation: 1 Location: Stuttgart, Germany |
2009-08-12 12:07
Post: #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.. can you explain?
cheers,azido :;): -=[ NOTE: The official Aeon Showmix Project is dead due to a hack of the website ]=- But some cool guys keep coding stuff to it and made it dharma-compatible, see here: http://forum.xbmc.org/showthread.php?tid=82899
(This post was last modified: 2009-08-12 12:15 by azido.)
|
| find quote |
topkat
Junior Member Posts: 28 Joined: Aug 2009 Reputation: 0 |
2009-08-12 15:54
Post: #4
I think he means this:
http://en.wikipedia.org/wiki/Reverse_Polish_notation |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
can you explain?
Search
Help