CALL JJRECVMSG
Contents |
Effect
Stores string input from the joystick port 2 in a string variable.
Notes:
- This instruction is for general-purpose serial communication at 38400 bps. You can use it when communicating with the terminal software or between two MSX computers.
- Be careful when writing programs for two-way communication. One computer must be the sender, the other one the receiver. If both computers are in the receiver status, they will deadlock and freeze.
- If an error occurs during communication or data cannot be received correctly, MSX may freeze while waiting for reception. In such a case, please click the [x] button of "Joy Joy File Server" once. By sending dummy data, the problem may be resolved.
Syntax
CALL JJRECVMSG (<Variable>)
Parameter
<Variable> must be a string variable that will contain the string sent with CALL JJSENDMSG. The string can be up to 255 characters and the storing will stop with a line feed character (LF = 0AH).
Example
CALL JJSENDMSG ("Test"): CALL JJRECVMSG (A$)
Related to
CALL JJRECV, CALL JJRECVBYTE, CALL JJSEND, CALL JJSENDBYTE, CALL JJSENDMSG