CALL INITMD
This instruction is available in MDM-Basic and NewModem Basic.
Contents |
CALL INITMD in MDM-Basic
Effect
Intialises the communication protocol.
Syntax
CALL INITMD("<Protocol>")
Parameter
<Protocol> is a string (between quotes) of 4 characters:
Position | Meaning | Characters |
---|---|---|
1 | Xon/Xoff control | X=control enabled, N=control disabled |
2 | Data length | 8=8 bits, 7=7bits, 6=6bits, 5=5bits |
3 | Parity check | E=even, O=oneven, N=no parity |
4 | Length of stop bits | 1=1 bit, 2=1.5 bits, 3=2 bits |
Examples
The most used protocol:
CALL INITMD("X8N1")
Another example:
CALL INITMD("X7E1")
Related to
Compatibility
CALL INITMD in NewModem Basic
Effect
Intialises the X8N1 communication protocol.
- X = Xon/Xoff control on
- 8 = 8 data bits
- N = no parity
- 1 = 1 stop bit
Syntax
CALL INITMD