I'd like to know if is is possible to test 2 booleans in a conditional statement ..
for example :
Code:
<RegExp conditional="testA & !testB">
</Regexp>That would be nice

I can't find help on this anywhere ... or ... i didn't search thoroughly
acaranta
Junior Member Joined: Jan 2009 Reputation: 0 Location: Mougins, France |
2009-01-29 23:13
Post: #1
Hi
I'd like to know if is is possible to test 2 booleans in a conditional statement .. for example : Code: <RegExp conditional="testA & !testB">That would be nice ![]() I can't find help on this anywhere ... or ... i didn't search thoroughly
|
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2009-01-30 12:35
Post: #2
well, no. i didn't add boolean expression parsing as this is easily done elsewise.
<regexp conditional="testA" blabla dest="5"> <expression>somestuff</expression> </regexp> <regexp conditional="!testB" input="$$5" output="\1" dest="4"> <expression>(.+)</expression> </regexp> see, if either arent fulfilled no joy in buffer 4 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 |
acaranta
Junior Member Joined: Jan 2009 Reputation: 0 Location: Mougins, France |
2009-01-30 18:07
Post: #3
hehe actually, while asking I tried something which looks like what you showed :
Code: <RegExp conditional="!testA">And this seems to fit nicely my need ... Anyway, thanks ! |
| find quote |