Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_isdevice() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_ISDEVICE()

 DESCRIPTION

 C_ISDEVICE() checks the device attached to the specified COM port
 to determine if it is ready.  It can be used to check devices such
 as laser printers and plotters.

 NOTES

 The C_ISDEVICE() function checks only the device attached to the
 specified COM port.  To determine if the actual COM port is ready,
 use the C_ISCOM() function.  To check a modem, use the C_ISMODEM()
 function.

 SYNTAX

 C_ISDEVICE(port)

 PARAMETERS

 port (N) is the COM port number (1 = COM1, 2 = COM2, etc.) to check.

 RETURNS

 C_ISDEVICE() returns true (.T.) if the device attached to the
 specified port shows ready, otherwise it returns false (.F.).

 EXAMPLES

 ? c_iscom(1)    --> .T.    && COM1 shows it is ready
 ...
 ...
 ? c_isdevice(1) --> .T.    && Device attached to COM1 shows ready


See Also: C_ISCOM() C_ISLPT() C_ISPRINT() C_ISMODEM() C_COMSTAT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson