>   if ((getPos(pList1, pBoard[pCard1]) > 0) AND (getPos(pList2, 
>pBoard[pCard2]) > 0) AND \
>         (getPos(pList1, pBoard[pCard1]) = getPos(pList2, 
>pBoard[pCard2]))) OR \
>      ((getPos(pList2, pBoard[pCard1]) > 0) AND (getPos(pList1, 
>pBoard[pCard2]) > 0) AND \
>         (getPos(pList2, pBoard[pCard1]) = getPos(pList1, 
>pBoard[pCard2]))) then --they are a match


You can cut out a couple of ANDs because if the first number is > 0 
and it's = to the second, the second must have been > 0 as well.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to