mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-28 11:17:46 +00:00
23 lines
No EOL
817 B
Text
23 lines
No EOL
817 B
Text
The {{KW|IOCTL}} statement sends a message to an open IOCTL compatible device.
|
|
|
|
|
|
{{PageSyntax}}
|
|
:{{KW|IOCTL}} [#]{{Parameter|fileNumber%}}, {{Parameter|message$}}
|
|
|
|
|
|
{{PageDescription}}
|
|
*'''[[Keywords currently not supported by QB64|Currently NOT supported in QB64!]]'''
|
|
* {{Parameter|fileNumber%}} is the number of an open device
|
|
* {{Parameter|message$}} is the message you want to send.
|
|
* The device must first be opened with the {{KW|OPEN}} statement.
|
|
* Use {{KW|IOCTL$}} to receive messages from the device.
|
|
* The message sent is device-specific (read manual to see if it is {{KW|IOCTL}} compatible).
|
|
* {{KW|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:).
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* {{KW|IOCTL$}}
|
|
* {{KW|OPEN}}
|
|
|
|
|
|
{{PageNavigation}} |