| CODE |
| IF x THEN IF y THEN z ENDIF ENDIF |
| CODE |
| IF x THEN z ENDIF IF y THEN z ENDIF |
| CODE |
| IF x GOTO trueCondition IF y GOTO trueCondition GOTO falseCondition :trueCondition z :falseCondition |
| QUOTE (diffident @ Feb 15 2004, 12:53 PM) | ||
BJ, this doesn't mean I could use several conditionals for one element to get a logical AND does it? I mean like this: <LayoutElement Type="Image" Source="Whatever"> <Condition>ItemEntry</Condition> <Condition Arg1="0">ItemSelected</Condition> </LayoutElement> (ie IF the currently selected item isn't a submenu AND it's the first item in the list THEN show this image) I've had a fairly thorough go at making this work, but I can only get the first conditional to have any effect (I'm testing using the WIP, so the <Condition Arg1="0">ItemSelected</Condition> does work on its own, or if I put it first). Have I misinterpreted what you meant? |
| QUOTE (BenJeremy @ Feb 15 2004, 07:31 PM) |
| I believe all conditionals need to pass in order for the item to be displayed. It should work... but I haven't tested it much. |