bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SetUEvent Routine Details
  ◄Syntax►  ◄Details►  ◄Example►                 ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
SetUEvent is used in user-event trapping. It sets the BASIC entry point
that causes a user-defined event.
 
Usage Notes
    ■ SetUEvent signals an event for the ON UEVENT event-handling routine.
    ■ The SetUEvent routine is a part of BASIC, and is automatically
      included in compiled applications or when running QBX with
      the /L command-line option. Your interrupt-service routine must
      call SetUEvent; it is the only way to alert your program that the
      event has occurred. You can call SetUEvent from a non-BASIC language.
    ■ To use the SetUEvent routine in the QBX environment, use any Quick
      library. To use SetUEvent outside the QBX environment, you do not
      have to link to a library.