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_filtcopy():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  m6_FiltCopy():

  Purpose:  Creates a new instance of the specified filter.

   Syntax:  m6_FiltCopy( <nHandle> )

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

  Returns:  A handle to the copy of the filter.

     Note:  *Always free RYO filters that are no longer being used.*

  Example:

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

         USE Customer via "SIXCDX"

         SET INDEX TO State, Age

         //........................................create two filters
         nHandle1 := m6_NewFilter( "State='CA'" )
         nHandle2 := m6_NewFilter( "Age=25" )

         //.......save filter1 before it gets stomped on by the join
         nHandle3 := m6_FiltCopy( nHandle1 )

         //................................join filter2 into filter1
         m6_FiltJoin( nHandle1, nHandle2, JOIN_UNION )


See Also: m6_NewFilter()

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