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.
PEN Function Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
PEN returns lightpen status. Ten types of status can be returned,
depending on the argument you use.
 
PEN(n%)
 
Usage Note
    ■ The PEN function does not work when the mouse driver is enabled
      because the mouse driver uses the PEN function's BIOS calls.
      Use mouse function 14 to disable the driver's lightpen emulation.
      Mouse function 13 turns emulation back on. See your mouse manual
      for more information.