SCARA, 6-Axis and Modules
Technical Support Notes

Article ID: T1104
Date: 5/31/05 (updated 4/24/08)
Product: EPSON RC+ v4.x
Subject: MsgBox can corrupt variables if the answer parameter type is not Long

Symptoms
Sometimes after executing MsgBox, a variable value is changed.

Causes
This is caused by a bug in EPSON RC+ 4.0.  If the answer parameter type is not Long, then one or more variable values could be changed.

Remedy
Use Long for the answer parameter type instead of Integer.

Long answer
MsgBox "message", MB_OK, "Title", answer

Status
This problem has been fixed in EPSON RC+ v4.2.0.

Click here to return to the EPSON Robots home page
The Power of Choice!