[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            setBREAK - set Ctrl-BREAK flag

  Syntax              #include <ibm.h>
                      boolean setBREAK(boolean break_status);

  Prototype in        ibm.h

  Remarks             sets the state of the Ctrl-BREAK flag. The BREAK
                      status flag can be set from DOS by BREAK ON or
                      BREAK OFF.

                      This function is a macro.

  Return value        returns TRUE if the break flag is on, FALSE if the
                      flag is off.

  Note                the return value is based on the CURRENT setting.
                      If you set the break flag, setBREAK will return
                      what you set the flag to, not what the flag was set
                      to before.

  See also            isBREAKon(), isVERIFYon(), setVERIFY()

  Example             #include <ibm.h>

                      main()
                      {
                           printf("BREAK flag was ");
                           if (! setBREAK(TRUE))
                                printf("not ");
                           printf("on\n");
                      }


See Also: isBREAKon()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson