I hate myself asking this but I seem to have forgotten a simple programming technique...How do is check for set of logic ? i.e.
if (a=10 & b= 23){
.........}
A & B is a set that goes togeather. What I want to do is also check for c & d set. the logic is :
if a & b is true or if c & d is true then do something. How would i Do this? use case ? or if ((a=10 & b= 23) ||(c=15 & d= 3)) {} ...please help...



Reply With Quote

Bookmarks