Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>m6_filtinverse()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  m6_FiltInverse()

  Purpose:  This function reverses the state of every possible
            record number that could be set in the filter.  If
            the record is not set, then it is added to the filter,
            otherwise it is dropped.  For example, calling this function
            with a filter that contained only records for STATE="CA" would
            be every record where STATE!="CA".

   Syntax:  m6_FiltInverse( <nHandle1> ) )

    Where:  <nHandle1>     --  Is any valid handle to a filter.

  Returns:  Logical value:  .T. means the operation was successful,  .F.
            indicates it failed.  In the case of a .F. value call m6_Error()
            to retrieve the reason for the error.

  Example:

         #include "SIXCDX.CH"
         #include "MACHSIX.CH"

         //..............................................use customer file
         USE Customer via "SIXCDX"

         //...............................create RYO filter for STATE='CA'
         nHandle := m6_NewFilter( "State='CA'")

         //.........invert the result, creating a filter where STATE!='CA'
         m6_FiltInverse( nHandle )

         //............................................browse the results
         Browse()


See Also: m6_FiltJoin() m6_NewFilter()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson