[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SETCANCEL()

    SETCANCEL() toggles program termination with Alt-C, on or off.

Syntax

    SETCANCEL([<expL>])

Arguments

    <expL> toggles the termination capability on or off.  Specifying true
    (.T.) toggles termination on and false (.F.) toggles it off.  The
    default setting when a Clipper application loads is true (.T.).

Returns

    A logical value.

    SETCANCEL() returns the previous setting if an argument is specified;
    the current setting if an argument is not.

Usage

    SETCANCEL() serves two basic purposes: toggling the state of the
    termination key, Alt-C, and reporting the current or last state of
    SETCANCEL().

    Note: SET KEY takes precedence over Alt-C when the termination
    state is enabled.

    Caution: When SETCANCEL() has been set true (.T.), you will be unable
    to terminate a runaway program unless you have provided an alternative
    escape mechanism.

See Also: SET ESCAPE ALTD
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson