Code: Select all
on eventname do
if %eventvalue1%=0
(do something)
endif
endon
Moderators: grovkillen, Stuntteam, TD-er
Code: Select all
on eventname do
if %eventvalue1%=0
(do something)
endif
endon
Code: Select all
on eventname do
if %eventvalue%<=0 or %eventvalue%>0
// (value provided, do something with the value)
else
// (value NOT provided, do some default action)
endif
endon
You're welcome. Glad to hear it is working for you.Nice workaround. Works with %eventvalue1% also. Thanks.
There are probably some applications that can benefit from knowing when the eventvalue has not been assigned. So defaulting it to zero would prevent that. I'd recommend leaving things as-is. Or if preferred, allow the rules to test for %NULL% (unassigned) values.But if you refer to the %eventvalue%, then that one should be 0 when not set.... I think
Users browsing this forum: Bing [Bot] and 102 guests