Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Comix 3.0 Reference Manual - <b>cmxclrscope()</b> clear top or bottom index scope http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
cmxClrScope()         Clear top or bottom index scope
------------------------------------------------------------------------------

Synopsis

    cmxClrScope(nScope) -> NIL

Arguments

    nScope is the number of the scope to be cleared for the current master
    index.  0 specifies the top scope.  1 specifies the bottom scope.

Returns

    NIL.

Description

    cmxClrScope() is used to clear the top or bottom scope value for the
    current master index.  This function is used to eliminate SCOPE's which
    have been set up using cmxSetScope().

    See SET SCOPE for a discussion of scoping.

Example

    use demo
    set index to age

    cmxSetScope(0, 25)              && Make 25 the top scope
    cmxSetScope(1, 30)              && Make 30 the bottom scope
    list age                        && Will only see recs with age 25 .. 30

    cmxClrScope(0)                  && Clear top scope
    list age                        && Now see all recs from start .. 35

    cmxClrScope(1)                  && Clear bottom scope
    list age                        && Now see all recs

See Also

    cmxSetScope(), SET SCOPE


See Also: cmxSetScope() SET SCOPE

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