IOCTL - QB64 Wiki

IOCTL

From QB64 Wiki

Jump to: navigation, search

The IOCTL statement sends a message to an open IOCTL compatible device.


Syntax:

IOCTL [#]fileNumber%, message$


Description:

  • Currently NOT supported in QB64!
  • fileNumber% is the number of an open device
  • message$ is the message you want to send.
  • The device must first be opened with the OPEN statement.
  • Use IOCTL$ to receive messages from the device.
  • The message sent is device-specific (read manual to see if it is IOCTL compatible).
  • IOCTL doesn't work with most devices, it doesn't work with BASIC devices (LPTn:, COMn:, SCRN:, CONS:) or DOS block devices (A: to Z:).


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version