|
Chris, The similar technique (also mentioned in this thread): Ind = not Ind; does exactly the same thing. I don't know whether it's any 'clearer' or not. My preference is that if you're ever going to set an indicator to the result of an expression, it's 'better' (read 'clearer', in my mind) to put the expression in parentheses, e.g. Ind = ( Fld1 = Fld2 ); rather than: Ind = Fld1 = Fld2; That (consistency) is why I tend to use: Ind = ( Ind = *off ); rather than Ind = not Ind; Rory On 12/13/06, Chris Pando <chris.pando@xxxxxxxxx> wrote:
On 12/13/06, Rory Hewitt <roryhewitt@xxxxxxxxx> wrote: ... snip ... > Also, to 'toggle indicators, I use this a lot: > > Ind = ( Ind = *off ); > That goes into the toolchest. Thanks, Chris
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.