1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/IOCTL.txt
2017-10-10 11:55:21 -03:00

26 lines
927 B
Plaintext

'''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.
{{PageSyntax}}
:[[IOCTL]] [#]{{Parameter|fileNumber%}}, {{Parameter|message$}}
{{PageDescription}}
*'''[[Keywords currently not supported by QB64|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 [[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:).
{{PageSeeAlso}}
* [[IOCTL$]]
* [[OPEN]]
{{PageNavigation}}