Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 85594

Re: how to loop if else statement

$
0
0

You can reduce your logic if you think about it... if the first day check is not true, then there is no need to test if it's day 6 or 0 because it has to be 6 or 0.  There are other potential simplifications you could reason out as well, for instance, it might (or might not) help to consider that for every day of the week the open image should be visible from 11AM to 8PM.


Viewing all articles
Browse latest Browse all 85594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>