CALL CHKMDM
This instruction is available in MDM-Basic and NewModem Basic.
Contents |
Effect
Checks the presence of a modem and returns the result in a variable.
Note: Always use this instruction before any other one, so you will avoid problems with the BASIC extension.
Syntax
CALL CHKMDM(<Variable>)
Parameter
<Variable> stores the result of the detection. It must be an integer variable.
If value=0 then modem is present otherwise there is no modem.
Example
CALL CHKMDM(T%): PRINT T%