- Messages
- 35
- Country

In the code snippet I can't get '0 (>L:RES_TIME,bool)' to be executed.
When I click the first mouse area L:RES_TIME change to '1' and the code after 'if' is executed. But not '0 (>L:RES_TIME,bool)'. I have to click the second mouse area and L:RES_TIME change to '0' and the 'if' code is no loger executed.
I do not understand why '0 (>L:RES_TIME,bool)' in the 'if' is not executed and hence stop the 'if'code to be executed.
Any help is appreciated!
When I click the first mouse area L:RES_TIME change to '1' and the code after 'if' is executed. But not '0 (>L:RES_TIME,bool)'. I have to click the second mouse area and L:RES_TIME change to '0' and the 'if' code is no loger executed.
I do not understand why '0 (>L:RES_TIME,bool)' in the 'if' is not executed and hence stop the 'if'code to be executed.
Code:
Element>
<Select>
<Value>
(L:RES_TIME,bool) 1 == if{
(L:CURRENT_TIME,seconds) (>L:DEPARTURE_TIME,seconds)
(L:CURRENT_TIME,seconds) (>L:UPDATED_TIME,seconds)
0 (>L:RES_TIME,bool)}
</Value>
</Select>
</Element>
<Mouse>
<Area Left="750" Top="9" Width="15" Height="9">
<Cursor Type="Hand"/>
<Click>
1 (>L:RES_TIME,bool)
</Click>
</Area>
<Area Left="770" Top="9" Width="15" Height="9">
<Cursor Type="Hand"/>
<Click>
0 (>L:RES_TIME,bool)
</Click>
</Area>
</Mouse>
Any help is appreciated!
