2017-10-10 14:55:21 +00:00
|
|
|
'''This page is maintained for historic purposes. The keyword is [[Keywords currently not supported by QB64|not supported in QB64]].'''
|
|
|
|
----
|
|
|
|
|
|
|
|
The [[IOCTL]] statement sends a message to an open IOCTL compatible device.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2017-10-10 14:55:21 +00:00
|
|
|
:[[IOCTL]] [#]{{Parameter|fileNumber%}}, {{Parameter|message$}}
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageDescription}}
|
2017-10-10 14:55:21 +00:00
|
|
|
*'''[[Keywords currently not supported by QB64|Not supported in QB64.]]'''
|
2015-08-02 12:12:44 +00:00
|
|
|
* {{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.
|
2017-10-10 14:55:21 +00:00
|
|
|
* 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:).
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSeeAlso}}
|
2017-10-10 14:55:21 +00:00
|
|
|
* [[IOCTL$]]
|
|
|
|
* [[OPEN]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
{{PageNavigation}}
|