|
> Given the posted code, this /free line is a lot more concise (and more > elegant, IMHO): > > *IN92 = Not S1SFLMODE I agree, however this code does not work because S1SFLMODE is not an indicator, but a 1A field, so you'll get "operands are not compatible with the type of operator" when you compile it. You could, however, do this: *IN92 = S1SFLMODE = '0'; But, I find that one a little harder to understand. The original IF/ELSE is easier to understand.
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.