|
Bob, Bob said: > The caveat is that the NOT'ed indies need to either be put into parens, > placed at the end of the expression. > eg. > if (NOT *IN99) and *IN98 and *IN97 Is that right? are you saying that without the (), the not applies to all of the boolean expressions in the if statement? I have a working piece of code that goes as follows: if (not Dwildcard and hrmDir <> *blanks and hrmDir <> ListName) ..do something.. end notice, the 'not' on the boolean (n) variable, combined with compares (which resolve to a boolean yes or no, correct?) if I get what you are saying, then what the above really means is: if not (Dwildcard and hrmDir <> *blanks and hrmDir <> ListName) ? and how about this? if not Fwildcard and not Dwildcard .. do something... end if the beginning 'not' applies to all the boolean expressions in the statement, does it reverse the second 'not'? or does it mean: if not (Fwildcard and not Dwildcard) ? until just now, I didn't think this was such a hard concept to understand. now i'm so confused.... ;) rick
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.