Hi,
How can i check multiple conditions in single "IF" loop? like we do in javascript.
e.g.
if( a==10 && b==1, trace('called'), trace('nothing') );
is it possible with KRPano?
thanks
--
Pratiks
Hi,
How can i check multiple conditions in single "IF" loop? like we do in javascript.
e.g.
if( a==10 && b==1, trace('called'), trace('nothing') );
is it possible with KRPano?
thanks
--
Pratiks
Hi spacerywirtualne,
thanks for your help.
but it is not working with or(||) condition.
like, if( a==10 || b==1, trace('called'), trace('nothing') );
i need to know that such kind of operator(i.e. &&, ||) are supported by KRPano or not?
thanks
--
Pratiks
If you just need a single OR, I usually use this:
<!-- do %3 if %1 is TRUE or %2 is TRUE -->
<action name="ifor">
if(%1,
%3,
if(%2,
%3));
</action>
Hi,
I will try that code.
thanks
--
Pratiks
Don’t have an account yet? Register yourself now and be a part of our community!