R
RobcPettit
Hi, I was wondering if theres a better way to check certain criteria.
For instance;
A2 can = Playing or Winner or loser or Unknown or Suspended. A1 can
equal 1 or 2 or 3 or 4 or 5. I use ifs to ask certain questians.
If a1 = 1 and a2 = Playing then.......
elseif a1 = 2 and a2 = playing then......
elseif a1 > 2 and a2 = playing then
elseif a1 > 2 and a2 = Winner then ...... etc. As you can see, alot of
if's and debugging. Is there a better way to ask these questions.
Regards Robert
For instance;
A2 can = Playing or Winner or loser or Unknown or Suspended. A1 can
equal 1 or 2 or 3 or 4 or 5. I use ifs to ask certain questians.
If a1 = 1 and a2 = Playing then.......
elseif a1 = 2 and a2 = playing then......
elseif a1 > 2 and a2 = playing then
elseif a1 > 2 and a2 = Winner then ...... etc. As you can see, alot of
if's and debugging. Is there a better way to ask these questions.
Regards Robert