Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Mach SIx v1.1c - Reference Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  m6_IsFilter():

  Purpose:  Used to determine the optimization level of the active filter
            condition.

   Syntax:  m6_IsFilter()

  Returns:  Level of optimization for the active filter.  Return values
            range from 0 - 2, with two being fully optimizable.  Use the
            following constants defined in "MACHSIX.CH" to interpret the
            return values:

              #define OPT_FULL      2  //..fully optimizable
              #define OPT_PARTIAL   1  //..partially optimizable
              #define OPT_NONE      0  //..not optimizable

    Notes:  m6_IsFilter() will test the active filter condition
            regardless of whether the filter condition has been
            initialized with a record record movement ( GO TOP/BOTTOM,
            SKIP )

            The m6_IsFilter() function is the same as m6_IsOptimize()
            but only pertains to the active filter condition.

  Example:

         #include "DBFSIX.CH"
         #include "MACHSIX.CH"

         LOCAL nSel := 0, dStart, dEnd, cFor

         USE Names INDEX Name, Salary, State, Date

         SET FILTER TO State = "CA"

         ? "Filter optimization level = "
         ?? m6_IsFilter()


See Also: m6_IsOptimize()

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