So, it has to do all three commands OR just one. Here is the code I have. I'm sure I have to be close, I just can't figure out what I'm doing wrong.Then you shouldn't use && and || update: like that:
does:( a() && b() && c() ) || e();
so it executes either a() and e(), a() b() and e() or a() b() and c().execute a() if a() returns false execute e() and end. if a() returns true execute b() if b() returns false execute e() and end. if b() returns true exece c() and end.
In reply to Re: ANDs and ORs
by Joost
in thread ANDs and ORs
by coldmiser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |